-797   THE TRIGGER trigger-name IS DEFINED WITH AN UNSUPPORTED TRIGGERED SQL STATEMENT

Explanation

The trigger definition includes an unsupported triggered SQL statement. The SQL statements that are allowed as a triggered SQL statement are specified in CREATE TRIGGER.

System action

The CREATE TRIGGER statement cannot be executed, and the trigger is not created.

Programmer response

Check the triggered SQL statements in the trigger for any statement that is not listed in CREATE TRIGGER, and remove the statement.

SQLSTATE

42987