HPE NonStop SQL/MX Error – 3129 Function name accepts exactly one operand.

In this blog post, let’s learn about the error message “3129 Function name accepts exactly one operand.” when working with HPE NonStop SQL/MX, the reason for the error and the solution to fix this error message.

Error Message

3129 Function name accepts exactly one operand.

Reason for the Error

You specified two operands for an aggregate function that accepts exactly one operand. Only VARIANCE and STDDEV support two operands.

Solution

Correct the syntax and resubmit