Neoview SQL Reference Manual (R2.2)

ALTER TRIGGER Statement
“Syntax Description of ALTER TRIGGER”
“Considerations for ALTER TRIGGER”
The ALTER TRIGGER statement is used to enable or disable triggers, individually or by SQL
tables.
ALTER TRIGGER { ENABLE trigger-name |
ENABLE ALL OF table-name |
DISABLE trigger-name |
DISABLE ALL OF table-name};
Syntax Description of ALTER TRIGGER
trigger-name
specifies the name of the trigger to alter. See “Database Object Names” (page 196).
table-name
specifies the name of the table that this trigger is defined on. See “Database Object Names”
(page 196).
Considerations for ALTER TRIGGER
ENABLE ALL enables all triggers defined on table-name.
DISABLE ALL disables all triggers defined on table-name.
Authorization and Availability Requirements
To alter a trigger, you must own its schema or be the services ID. Only the table owner can use
ALTER TRIGGER DISABLE ALL or ALTER TRIGGER ENABLE ALL
50 SQL Statements