A trigger is a set of actions that are run automatically whenever a specified event occurs to a specified base table or view.
An event can be an insert, update, delete, or read operation. The trigger can be run either before or after the event. DB2® UDB for iSeries™ supports SQL insert, update, and delete triggers and external triggers.