Syntax error near '%1' %2

Error constant SQLE_SYNTAX_ERROR
ODBC 2 State 37000
ODBC 3 State 42000
Parameter 1 The word or symbol where the syntax error has been detected.
Parameter 2 Line number.
Severity 15
SQLCODE –131
SQLSTATE 42W04
Sybase error code 102
Probable cause

The database server cannot understand the statement you are trying to execute. If you used a keyword (such as DATE) for a column name, try enclosing the keyword in quotation marks ("DATE").