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 error message “1104 Default value string is too long for column column-name.”...
  • Data
  • December 3, 2024
In this blog post, let’s learn about the error message “3165 The precision or exponent value specified in value was...
  • Data
  • December 3, 2024
In this blog post, let’s learn about the error message “2051 Either control optionoption name or value ‘value’is not valid.”...
  • Data
  • December 3, 2024