Name
DROP TRIGGER
-- remove a trigger
Description
DROP TRIGGER will remove all references to an existing
trigger definition. To execute this command the current
user must be the owner of the table for which the trigger is defined.
Examples
Destroy the if_dist_exists trigger
on table films:
DROP TRIGGER if_dist_exists ON films;
Compatibility
- SQL92
There is no DROP TRIGGER statement in
SQL92.
- SQL99
The DROP TRIGGER statement in
PostgreSQL is incompatible with
SQL99. In SQL99, trigger names are not local to tables, so the
command is simply DROP TRIGGER
name.