Application Development Guide


Overview of a Trigger

When you create a trigger, you associate it with a table. This table is called the subject table of the trigger. The term update operation refers to any change in the state of the subject table. An update operation is initiated by:

You must associate each trigger with one of these three types of update operations. The association is called the trigger event for that particular trigger.

You must also define the action, called the triggered action, that the trigger performs when its trigger event occurs. The triggered action consists of one or more SQL statements which can execute either before or after the database manager performs the trigger event. Once a trigger event occurs, the database manager determines the set of rows in the subject table that the update operation affects and executes the trigger.

When you create a trigger, you declare the following attributes and behavior:

For more information on the CREATE TRIGGER statement, refer to the SQL Reference.


[ Top of Page | Previous Page | Next Page ]