HPE NonStop SQL/MX Error – 4139 Use of a subquery is not supported in the WHERE clause of a multi commit statement.

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

Error Message

4139 Use of a subquery is not supported in the WHERE clause of a multi commit statement.

Reason for the Error

A multi commit delete statement includes a subquery.

Solution

Remove the subquery, or resubmit the statement without specifying the multi commit option