ALTER TRIGGER |
ALTER TRIGGER [schema.]triggername {ENABLE | DISABLE} |
Enables or disables a database trigger.
Keywords
schema
The name of the schema containing the trigger. If omitted, the current schema is assumed.
triggername
Specifies the name of the trigger to alter.
ENABLE
Specifies that this trigger is to be fired when a triggering statement is issued.
DISABLE
Specifies that this trigger is not to be fired when a triggering statement is issued.
|
Example
The following statement disables the scott user's empaud trigger:
ALTER TRIGGER scott.empaud DISABLE
Get Oracle SQL: the Essential Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.