HPE NonStop SQL/MX Error – 4160 Intersection between embedded name1 expression and embedded name2 expression is not supported. Tables in scope: name3, name4.

In this blog post, let’s learn about the error message “4160 Intersection between embedded name1 expression and embedded name2 expression is not supported. Tables in scope: name3, name4.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4160 Intersection between embedded name1 expression and embedded name2 expression is not supported. Tables in scope: name3, name4.

Reason for the Error

You attempted to perform an intersection between two embedded expressions.

Solution

Modify the statement and resubmit