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

In this blog post, let’s learn about the error message “4158 Join 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

4158 Join of stream expressions is not supported. Tables in scope: name.

Reason for the Error

You attempted to perform a join of stream expressions.

Solution

Modify the statement and resubmit