In this blog post, let’s learn about the error message “4047 The operands of function name must have a scale of 0.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4047 The operands of function name must have a scale of 0.
Reason for the Error
You specified operands of function name that do not have a scale of zero (0), which is required.
Solution
Correct the syntax and resubmit