SQL Server中的SQL查询有多长时间? [英] Is there a limit to how long a SQL query can be in SQL Server?
本文介绍了SQL Server中的SQL查询有多长时间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我Googled了一会儿,是否对SQL Server中的大量查询字符串有一些硬限制。我的意思是,如果我建立一个1亿字符的查询 - 它会运行还是服务器只会将其删除太长?
I Googled for a while and can't find whether there's some hard limit on how huge query strings can be in SQL Server. I mean what if I build a 100 million character query - will it run or will the server just drop it as too long?
SQL查询
推荐答案
我从来没有遇到过SQL的问题查询在字符数方面太长,但是有一个表的最大数量,一个查询可以引用(256),并且我将此限制打了几次。
I never encountered a problem of SQL query being too long in terms of number of characters, but there is a maximum number of tables a query can reference (256) and I hit this limitation a few times.
您是否遇到过SQL Server无法执行的查询,因为它引用的表格太多?
这篇关于SQL Server中的SQL查询有多长时间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文