DB2 10.5 for Linux, UNIX, and Windows

Supported SQL PL statements in triggers

The triggered SQL statement of all triggers can be a dynamic compound statement.

That is, triggered SQL statements can contain one or more of the following elements:
However, only AFTER and INSTEAD OF triggers can contain one or more of the following SQL statements:
  • UPDATE statement
  • DELETE statement
  • INSERT statement
  • MERGE statement