In this blog post, let’s learn about the error message “4336 Embedded operation statements are not allowed in a join operation. Table in scope: table-names.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4336 Embedded operation statements are not allowed in a join operation. Table in scope: table-names.
Reason for the Error
You attempted a join operation using an embedded INSERT statement.
Solution
Modify the statement and resubmit