Start of change

-20433   AN UNTYPED EXPRESSION WAS SPECIFIED, BUT AN ASSUMED DATA TYPE CANNOT BE DETERMINED FROM ITS USE

Explanation

An untyped expression was specified and DB2® cannot determine the data type. This error can occur with a MERGE statement when an untyped expression like a parameter or the NULL keyword is specified for a column of the source data, and the column of the source data is referenced in multiple contexts with different assumed data types.

System action

The statement cannot be processed.

Programmer response

Specify an explicit CAST specification to provide the correct data type for the expression.

SQLSTATE

429C1

End of change