Correlated Table Action

Use the Correlated Trigger Action clause to define the SQL statements that are executed as the trigger action when a triggering event activates a trigger on a table.

(1)
Correlated Table Action

1?  BEFORE %Triggered-Action1  FOR EACH ROW %Triggered-Action1?  AFTER %Triggered-Action1

If the CREATE TRIGGER statement contains an INSERT REFERENCING clause, a DELETE REFERENCING clause, an UPDATE REFERENCING clause, or a SELECT REFERENCING clause, you must include a FOR EACH ROW triggered-action list in the Action clause. You can also include BEFORE and AFTER triggered-action lists, but they are optional.

For information on the BEFORE, FOR EACH ROW, and AFTER triggered-action lists, see Action Clause