-8004: Constant must be compatible with column type and length
Explanation
The specified constant does not match the data type for this column.
User Response
Use a QUERY statement issued on the system table DOMAIN.COLUMNS to find out the definition of the affected column. Specify a constant with the correct data type.