Maximum Length of a SQL Query in Microsoft Access 2010?

后端 未结 2 693
执念已碎
执念已碎 2021-01-22 13:19

Attempting to copy/paste a 159KB TSQL query into Microsoft Access 2010 passthrough query editor (to a Microsoft SQL Server 2008 backend).

This produces pop-up error,

相关标签:
2条回答
  • 2021-01-22 14:02

    The help file says that the maximum number of characters in a SQL statement is approximately 64,000. It doesn't mention any difference between pass through queries and other queries, so in the absence of any specific documentation I'm assuming that this also applies to pass through queries.

    0 讨论(0)
  • 2021-01-22 14:13

    Looking for this myself and found another limitation that is more likely to be your problem as well as mine:

    Maximum number of JOINS in a query: 16

    Maximum number of nested queries: 50

    0 讨论(0)
提交回复
热议问题