In this blog post, let’s learn about the error message “4072 The operand of function name must be a datetime containing a name.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.
Error Message
4072 The operand of function name must be a datetime containing a name.
Reason for the Error
You specified an invalid operand for function name. It must be a datetime operand containing the variable listed in the message.
Solution
Correct the syntax and resubmit