In this blog post, let’s learn about the error message “1594 An error occurred trying to access the current value of the IDENTITY column col-name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
1594 An error occurred trying to access the current value of the IDENTITY column col-name.
Reason for the Error
An internal error occurred while accessing the current value of the IDENTITY column.
Solution
For details, see the additional diagnostic messages. Correct the cause and resubmit the statement