HPE NonStop SQL/MX Error – 11026 SET ON ROLLBACK clause of Update or Delete statement is not allowed to update columns on which triggers are defined.

In this blog post, let’s learn about the error message “11026 SET ON ROLLBACK clause of Update or Delete statement is not allowed to update columns on which triggers are defined.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

11026 SET ON ROLLBACK clause of Update or Delete statement is not allowed to update columns on which triggers are defined.

Reason for the Error

The target columns of the SET ON ROLLBACK clause of a SET ON ROLLBACK UPDATE statement are the subject columns of an UPDATE trigger.

The target columns of the SET ON ROLLBACK clause of a SET ON ROLLBACK DELETE statement are the subject columns of an UPDATE trigger.

Solution

Drop all UPDATE triggers whose subject columns match those columns in the SET ON ROLLBACK clause of the SET ON ROLLBACK statement. Matching is satisfied if at least one of the columns updated by the SET ON ROLLBACK clause is the same as one of the subject columns of the trigger. If the triggers cannot be dropped, you might want to avoid performing SET ON ROLLBACK statements on the subject columns

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

In this blog post, let’s learn about the client error message “EngineNotSupported with HTTP Status 400” when working with PolarDB...
  • Data
  • December 15, 2022
In this blog post, let’s learn about the client error message “EngineVersionNotSupported with HTTP Status 400” when working with PolarDB...
  • Data
  • December 15, 2022
In this blog post, let’s learn about the client error message “IncorrectDBClusterLockMode with HTTP Status 400” when working with PolarDB...
  • Data
  • December 15, 2022