![]() |
|
Use the DROP TRIGGER statement to remove a trigger definition from a database.
Element | Purpose | Restrictions | Syntax |
---|---|---|---|
trigger | Name of the trigger to drop |
The trigger must exist. | Identifier, p. 4-205 |
You must be the owner of the trigger or have the DBA privilege to drop the trigger.
Dropping a trigger removes the text of the trigger definition and the executable trigger from the database.
The following statement drops the items_pct trigger:
If a DROP TRIGGER statement appears inside an SPL routine that is called by a data manipulation statement, the database server returns an error.
Related statements: CREATE TRIGGER