Previous Topic: -204 - MICROSECOND ssssss GREATER THAN 99Next Topic: -206 - OP2 NOT ALLOWED IF OP1 IS A TIMESTAMP FOR SCALAR FUNCTION CHAR


-205 - INVALID DATATYPE xx FOR SCALAR FUNCTION nn

Explanation

You have issued a query using a scalar function (nn) with a value whose data type (xx) is invalid for this function. See the CA Datacom/DB SQL User Guide for scalar functions.

The SQLSTATE that equates to this SQL return code is 53S21.

User Response

Correct the query to use the proper data type for the requested scalar function.