Cannot convert %1 to a %2

Item Value
SQLCODE -157
Constant SQLE_CONVERSION_ERROR
SQLSTATE 53018
Sybase error code 257
ODBC 2 State 07006
ODBC 3 State 07006
Parameter 1 The value that could not be converted.
Parameter 2 The name of the type for the conversion.

Probable cause 

You supplied to or fetched from the database an invalid value. For example, the value 12X might have been supplied where a number was required.