HPE NonStop SQL/MX Error – 4337 Use of a subquery in the WHERE clause of an embedded INSERT statement is not supported.

In this blog post, let’s learn about the error message “4337 Use of a subquery in the WHERE clause of an embedded INSERT statement is not supported.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4337 Use of a subquery in the WHERE clause of an embedded INSERT statement is not supported.

Reason for the Error

You attempted to run an embedded INSERT statement that contains a subquery in its WHERE clause.

Solution

Modify the statement and resubmit