In this blog post, let’s learn about the error message “4507 The SET ON ROLLBACK clause is not allowed in a MERGE statement.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4507 The SET ON ROLLBACK clause is not allowed in a MERGE statement.
Reason for the Error
You specified a SET ON ROLLBACK clause in the MERGE statement.
Solution
Remove the SET ON ROLLBACK clause and resubmit the MERGE statement