Maximum Length of a SQL Query in Microsoft Access 2010?

房东的猫 提交于 2019-12-31 03:26:28

问题


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, "The text is too long to be edited".

What is the maximum length of a query in Microsoft Access 2010?


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/7699554/maximum-length-of-a-sql-query-in-microsoft-access-2010

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!