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.

(explicit id corta001) corta001

Correlated Table Action

[ BEFORE <Triggered-Action> [] ]
FOR EACH ROW <Triggered-Action> []
[ AFTER <Triggered-Action> [] ]

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