In this blog post, let’s learn about the error message “4073 The COLLATE clause may appear only after an expression of character data type, not data type.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4073 The COLLATE clause may appear only after an expression of character data type, not data type.
Reason for the Error
You specified the COLLATE clause after an expression that is not a character data type.
Solution
Correct the syntax and resubmit