Start of change

-20111   CANNOT ISSUE SAVEPOINT, RELEASE SAVEPOINT, ROLLBACK TO SAVEPOINT FROM A TRIGGER, FROM A USER-DEFINED FUNCTION, OR FROM A GLOBAL TRANSACTION

Explanation

The following statements cannot be used in the body of a trigger, global transaction, or user-defined function:

  • SAVEPOINT
  • RELEASE SAVEPOINT
  • ROLLBACK TO SAVEPOINT

System action

The statement cannot be processed.

Programmer response

Correct the logic of the application program so that this error does not occur.

SQLSTATE

3B503

End of change