ACC: Limit on ANDs in SQL Select StatementLast reviewed: May 7, 1997Article ID: Q92690 |
The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. There is an undocumented limit on the number of ANDs you can use in a SQL Select statement. The limit is 40 ANDs in a WHERE clause and 40 ANDs in a HAVING clause. Microsoft Access 1.x returns the following error message when you exceed this limit:
Out of MemoryMicrosoft Access 2.0, 7.0 and 97 return the following error message when you exceed this limit:
Query is too complex |
Keywords : kberrmsg kbusage QryProb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |