-8019 The column column_name is not a valid type for use in the function_name function.

Explanation

A string argument did not conform to the requirements of a numeric field. For example, a character string value is passed but did not conform to the rules for forming an SQL integer or decimal constant.

System action

The SQL statement cannot be processed.

Programmer response

Change the argument string value to conform to the requirements of a numeric field.

SQLIMSSTATE

23609