The pattern is too long

Error constant SQLE_PATTERN_TOO_LONG
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –606
SQLSTATE WW001
Sybase error code 7706
Probable cause

The pattern for the LIKE operator is too long. All patterns of 126 characters or less are supported. Some patterns as long as 254 characters are supported, depending on their contents. Patterns longer than 254 characters are not supported.