HPE NonStop SQL/MX Error – 4066 The operands of a UNION must be of equal degree.

In this blog post, let’s learn about the error message “4066 The operands of a UNION must be of equal degree.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

4066 The operands of a UNION must be of equal degree.

Reason for the Error

You specified operands of a UNION statement that are not of equal degree, which is required.

Solution

Correct the syntax and resubmit