HPE NonStop SQL/MX Error – 4180 Stream expression is not supported for top level DELETE statement.

In this blog post, let’s learn about the error message “4180 Stream expression is not supported for top level DELETE statement.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4180 Stream expression is not supported for top level DELETE statement.

Reason for the Error

You attempted to use a stream expression to perform a top-level DELETE.

Solution

Modify the statement and resubmit