HPE NonStop SQL/MX Error – 3409 Declaring a cursor on an embedded INSERT statement is not yet supported.

In this blog post, let’s learn about the error message “3409 Declaring a cursor on an embedded INSERT statement is not yet supported.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

3409 Declaring a cursor on an embedded INSERT statement is not yet supported.

Reason for the Error

You attempted to declare a cursor on an embedded INSERT statement.

Solution

Modify the statement and resubmit