Neoview SQL Reference Manual (R2.4)
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 228).
table-name
specifies the name of the table that this trigger is defined on. See “Database Object Names”
(page 228).
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 or schema owner can specify ALTER TRIGGER DISABLE ALL
or ALTER TRIGGER ENABLE ALL
52 SQL Statements