PRB: Query Too Complex Error After Execution of SQL QueryLast reviewed: July 2, 1997Article ID: Q125767 |
2.00.2317
WINDOWS
kbprg kberrmsg
The information in this article applies to:
SYMPTOMSWhen you use the ODBC desktop drivers, the following message is displayed after SQExecDirect or SQLPrepare fails with a SQL_ERROR return code:
Query too complex CAUSEThere are two possible causes for this:
Note: An MFC ODBC application that references long binary data using the RFX_LongBinary function may encounter this error when the recordset is opened. This is because the cursor library precedes calls to SQLGetData with the execution of a SELECT statement with a WHERE clause as described above. The long binary column does not contribute toward exceeding the 40-column limit because it is not referenced in the generated WHERE clause.
RESOLUTIONTo resolve the first cause above, you must set the stack size to 20K or more. To resolve the second cause, where the error occurs on the CRecordSet::Update method, you must:
|
Additional reference words: 2.00.2317 Access dbase fox paradox 16bit
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |