HPE NonStop SQL/MX Error – 4236 seq-pseudo-col cannot be used in Tuple list.

In this blog post, let’s learn about the error message “4236 seq-pseudo-col cannot be used in Tuple list.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4236 seq-pseudo-col cannot be used in Tuple list.

Reason for the Error

You attempted to compile a query that contains CURRVAL or NEXTVAL in a Tuple List.

Solution

Modify and resubmit the statement