Start of change

-402   AN ARITHMETIC FUNCTION OR OPERATOR function-operator IS APPLIED TO CHARACTER OR DATETIME DATA

Explanation

An invalid operand has been specified for the arithmetic function or operator.

function-operator
The name of the arithmetic function or operator.

System action

The statement cannot be processed.

Programmer response

Examine and correct the syntax of the SQL statement so that all operands of the specified function or operator are valid. A valid operand is either numeric, or is capable of being implicitly cast to a numeric data type.

SQLSTATE

42819

End of change