In this blog post, let’s learn about the error message “3147 In an IN predicate whose right operand is a value list, the left operand must be scalar (degree of one).” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
3147 In an IN predicate whose right operand is a value list, the left operand must be scalar (degree of one).
Reason for the Error
You specified an IN predicate whose right operand is a value list but whose left operand is not scalar, which is required.
Solution
Correct the syntax and resubmit