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

SQL Anywhere 11.0.1 » Error Messages » SQL Anywhere error messages » SQL Anywhere error messages sorted by message text (A-C)

 

Attempted two active database requests

Error constant SQLE_DOUBLE_REQUEST
ODBC 2 State ERROR
ODBC 3 State ERROR
Severity 16
SQLCODE –298
SQLSTATE 42W22
Sybase error code 13663
Probable cause

In embedded SQL, you attempted to submit a database request while you have another request in progress. You should either use a separate SQLCA and connection for each thread accessing the database, or use thread synchronization calls to ensure that a SQLCA is only accessed by one thread at a time.