Cannot treat value '%1' as type %2. The dynamic type is %3

Error constant SQLE_TREAT_AS_DYNAMIC_MISMATCH
ODBC 2 state ERROR
ODBC 3 state ERROR
Parameter 1 The value that could not be converted.
Parameter 2 The name of the type for the conversion.
Parameter 3 The type of the value that could not be converted.
Severity 16
SQLCODE -1362
SQLSTATE 53021
Sybase error code 13200
 Probable cause