Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.0 » Error Messages » SQL Anywhere error messages » SQL Anywhere error messages sorted by message text (L-S)

 

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").