Sybase Adaptive Server IQ 12.4.2 Administration And Performance Manual page 30

Table of Contents

Advertisement

Stored procedures
Adaptive Server Enterprise system procedures
10
System procedures are built-in stored procedures used for getting reports from
and updating system tables. Catalog stored procedures retrieve information
from the system tables in tabular form.
While these procedures perform the same functions as they do in
Note
Adaptive Server Enterprise and pre-Version 12 Adaptive Server IQ, they are
not identical. If you have preexisting scripts that use these procedures, you may
want to examine the procedures. To see the text of a stored procedure, run
sp_helptext procedure_name
You may need to reset the width of your DBISQL output to see the full text, by
clicking Command Options and entering a new Limit Display Columns
value.
The following Adaptive Server Enterprise system procedures are provided in
Adaptive Server IQ. These stored procedures perform important system
management tasks.
System procedure
sp_addgroup
sp_addlogin
sp_addmessage
sp_addtype
sp_adduser
sp_changegroup
sp_dboption
sp_dropgroup
sp_droplogin
sp_dropmessage
sp_droptype
sp_dropuser
sp_getmessage
Description
Adds a group to a database
Adds a new user account to a database
Adds user-defined messages to
SYSUSERMESSAGES for use by stored
procedure PRINT and RAISERROR calls
Creates a user-defined data type
Adds a new user to a database
Changes a user's group or adds a user to a
group
Displays or changes database options
Drops a group from a database
Drops a user from a database
Drops user-defined messages
Drops a user-defined data type
Drops a user from a database
Retrieves stored message strings from
SYSMESSAGES and
SYSUSERMESSAGES for PRINT and
RAISERROR statements.

Advertisement

Table of Contents
loading

Table of Contents