DROP TRIGGER Statement

The DROP TRIGGER statement drops a database trigger from the database.

Prerequisites

The trigger must be in your own schema or you must have the DROP ANY TRIGGER system privilege. To drop a trigger on DATABASE in another user's schema, you must also have the ADMINISTER DATABASE TRIGGER system privilege.

Syntax

drop_trigger::=

drop_trigger
Description of the illustration drop_trigger.gif

Keyword and Parameter Descriptions

schema

Specify the schema containing the trigger. If you omit schema, then the database assumes the trigger is in your own schema.

trigger

Specify the name of the trigger to be dropped. the database removes it from the database and does not fire it again.

Example

Dropping a Trigger: Example The following statement drops the salary_check trigger in the schema hr:

DROP TRIGGER hr.salary_check; 

Related Topics