Informix Error -11323: The statement contained an escape clause not supported by this database driver.
Cause and resolution
The statement contained an escape clause not supported by this database driver.
This Informix ODBC error code is the same as SQLSTATE value S1000. The following functions can return this error code: SQLNativeSQL, SQLExecDirect, and SQLPrepare.
Remove the escape clause from the statement string argument for the above functions.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-11323 fires when a statement string contains an ODBC escape clause the driver doesn't
support — per the official guidance, this is the same as SQLSTATE value S1000, returnable
by SQLNativeSQL, SQLExecDirect, and SQLPrepare.
- An unsupported ODBC escape clause in the statement string, per the official guidance — the direct, only cause.
Solutions / Resolution
- Remove the escape clause from the statement string, per the official guidance.
Examples
N/A
No specific triggering statement is documented beyond an unsupported escape clause.
Diagnostic Checks
- Check the statement string for ODBC escape sequences (
{fn ...},{d ...}, etc.), and remove or rewrite any the driver doesn't support.
Related Errors / Related Topics
No closely related error codes are cross-referenced for -11323 in this set yet.
The statement string used an unsupported ODBC escape clause — remove it.