Non-constant or unknown text query string

Error constant SQLE_TEXT_QUERY_NOT_KNOWN
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –1159
SQLSTATE WT004
Sybase error code 13354
Probable cause

The query string argument to a CONTAINS query must be a constant, or a non-null value in a variable.