Invalid escape character '%1'

Error constant SQLE_INVALID_ESCAPE_CHAR
ODBC 2 State S1000
ODBC 3 State 22019
Parameter 1 The escape character that is invalid.
Severity 16
SQLCODE –629
SQLSTATE 22019
Sybase error code 7707
Probable cause

The escape character string length must be exactly one.