Contents IndexSQLPP errors Chapter 46.  Differences from Other SQL Dialects

User's Guide
   Part VI. SQL Anywhere Reference
     Chapter 45. SQL Preprocessor Error Messages
      SQLPP warnings

Top of page


Into clause not allowed on declare cursor - ignored

Item Value
Code 2660

Probable cause

You have specified an into clause on a SELECT statement in a declare cursor. Note that the into clause will be ignored.

Top of page


unrecognized SQL syntax

Item Value
Code 2661

Probable cause

You have used a SQL statement that will probably cause a syntax error when the statement is sent to the database engine.

Top of page


unknown sql function '%s'

Item Value
Code 2662

Probable cause

You have used a SQL function that is unknown to the preprocessor and will probably cause an error when the statement is sent to the database engine.

Top of page


wrong number of parms to sql function '%s'

Item Value
Code 2663

Probable cause

You have used a SQL function with the wrong number of parameters. This will likely cause an error when the statement is sent to the database engine.

Top of page


static statement names will not work properly if used by 2 threads

Item Value
Code 2664

Probable cause

You have used a static statement name and preprocessed with the -r reentrancy switch. Static statement names cause static variables to be generated that are filled in by the database. If two threads use the same statement, contention arises over this variable. Use a local host variable as the statement identifier instead of a static name.

Top of page


Contents IndexSQLPP errors Chapter 46.  Differences from Other SQL Dialects