Triggering automatic events in your database

 

A trigger is a set of actions that run automatically when a specified change or read operation is performed on a specified database file. You can define a set of trigger actions in any high-level language that is supported on the i5/OS® operating system.

The change operation can be an insert, update, or delete high-level language statement in an application program. The read operation can be a fetch, get, or read high-level language statement in an application program.

You can also use SQL triggers.

 

Parent topic:

Managing database files

Related concepts
Database data protection and monitoring SQL triggers SQL programming

Related information
Stored Procedures, Triggers and User Defined Functions on DB2 Universal Database for iSeries