HPE NonStop SQL/MX Error – 4159 Intersection of stream expressions is not supported. Tables in scope: name.

In this blog post, let’s learn about the error message “4159 Intersection of stream expressions is not supported. Tables in scope: name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4159 Intersection of stream expressions is not supported. Tables in scope: name.

Reason for the Error

You attempted to perform an intersection of stream expressions.

Solution

Modify the statement and resubmit