SQL/MX 3.2 Management Manual (H06.25+, J06.14+)

Table Of Contents
For more information, see the SQL/MX Reference Manual.
Altering Triggers
To alter triggers, use the ALTER TRIGGER statement.
You can alter triggers by either enabling or disabling them with the ALTER TRIGGER statement.
For more information, see the SQL/MX Reference Manual.
Steps for Altering a Trigger
1. Start an MXCI session. Enter a LOG command to initiate a log file for statements and commands
entered in this session. Keep the log for your records.
2. Determine the name of the trigger you want to alter.
3. Enter the ALTER TRIGGER statement.
For more information, see the SQL/MX Reference Manual.
Altering Views
To alter view privileges, use the GRANT and REVOKE statements.
For more information, see the SQL/MX Reference Manual.
Steps for Altering a View
1. Start an MXCI session. Enter a LOG command to initiate a log file for statements and commands
entered in this session. Keep the log for your records.
2. Determine the name of the view you want to alter.
3. Enter the GRANT or REVOKE statements.
For more information, see the SQL/MX Reference Manual.
Dropping Objects From an SQL/MX Database
Table 12 (page 166) summarizes the objects that you can remove from the database and the
statements, commands, and utilities to use. All these operations are discussed in this subsection
except for dropping damaged SQL objects, which is described in “Using GOAWAY to Delete
Damaged Objects” (page 260).
Table 12 Dropping Objects From an SQL/MX Database
Statement, Command or UtilityOperationObject
DROP CATALOG statementDropCatalog
ALTER TABLE DROP CONSTRAINT statementDropConstraint
DROP INDEX statementDrop data, file and definitionIndex
MODIFY utilityDrop data, file and definitionPartition
PURGEDATA utilityDrop data only
DROP SCHEMA statementDrop schemaSchema
DROP SQLMP ALIAS statementDrop the mapSQL/MP alias
DROP PROCEDURE statementDrop procedureStored procedures in Java (SPJ)
DROP TABLE statementDrop data, files and definitionTable
PURGEDATA utilityDrop data only
DROP TRIGGER statementDrop triggerTrigger
DROP VIEW statementDrop viewView
166 Adding, Altering, and Dropping SQL/MX Database Objects