In this blog post, let’s learn about the error message “4164 Outer relation of right join cannot be embedded name expression. 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
4164 Outer relation of right join cannot be embedded name expression. Tables in scope: name.
Reason for the Error
You attempted to perform a right join using an embedded expression as the outer relation.
Solution
Modify the statement and resubmit