Programming trigger actions

Derby allows you to create triggers. When you create a trigger, you define an action or set of actions that are executed when a database event occurs on a specified table. A database event is a delete, insert, or update operation.

For example, if you define a trigger for a delete on a particular table, the trigger action is executed whenever someone deletes a row or rows from the table.

The "CREATE TRIGGER statement" topic in the Derby Reference Manual shows the complete CREATE TRIGGER syntax. This section provides information on defining the trigger action itself, which is only one aspect of creating triggers.

This section refers to the actions defined by the CREATE TRIGGER statement as the trigger actions.

Related concepts
Programming database-side JDBC routines