HPE NonStop SQL/MX Error – 4042 The operands of a comparison predicate must be of equal degree.

In this blog post, let’s learn about the error message “4042 The operands of a comparison predicate 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

4042 The operands of a comparison predicate must be of equal degree.

Reason for the Error

You specified a comparison predicate with operands that are not of equal degree, which is required.

Solution

Correct the syntax and resubmit