Neoview SQL Reference Manual (R2.3)

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 206).
table-name
specifies the name of the table that this trigger is defined on. See “Database Object Names”
(page 206).
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 the table, be the schema owner, or be granted the ALTER
privilege. Only the table owner can use ALTER TRIGGER DISABLE ALL or ALTER TRIGGER
ENABLE ALL
50 SQL Statements