Triggers
Triggers
A trigger is a named program unit that is stored in the database and fired
(executed) in response to a specified event. The specified event is associated
with a table, a view, a schema, or the database, and it is one of the following:
Trigger Types
A simple trigger can fire at exactly one of the following timing points:
A compound trigger can fire at more than one timing point. Compound
triggers make it easier to program an approach where you want the actions
you implement for the various timing points to share common data.
Trigger States
Disabled: A disabled trigger does not execute its trigger body, even if a
triggering statement is entered and the trigger restriction (if any) evaluates to
TRUE.