Êý¾Ý¿âÒýÇ棺 ϱíÖ¸¶¨ÔÚ SQL Server Êý¾Ý¿âÖж¨ÒåµÄ»òÔÚ Transact-SQL Óï¾äÖÐÒýÓõĸ÷ÖÖ¶ÔÏóµÄ×î´ó´óСºÍ×î´óÊýÁ¿¡£
SQL Server Êý¾Ý¿âÒýÇæ¶ÔÏó
|
×î´ó´óС/ÊýÁ¿ £ SQL Server£¨32 룩
|
×î´ó´óС/ÊýÁ¿ £ SQL Server£¨64 룩
|
Åú´óС1
|
65,536 * ÍøÂçÊý¾Ý°ü´óС
|
65,536 * ÍøÂçÊý¾Ý°ü´óС
|
ÿ¸ö¶Ì×Ö·û´®ÁеÄ×Ö½ÚÊý
|
8,000
|
8,000
|
ÿ¸ö GROUP BY¡¢ORDER BY µÄ×Ö½ÚÊý
|
8,060
|
8,060
|
ÿ¸öË÷Òý¼üµÄ×Ö½ÚÊý2
|
900
|
900
|
ÿ¸öÍâ¼üµÄ×Ö½ÚÊý
|
900
|
900
|
ÿ¸öÖ÷¼üµÄ×Ö½ÚÊý
|
900
|
900
|
ÿÐеÄ×Ö½ÚÊý8
|
8,060
|
8,060
|
´æ´¢¹ý³ÌÔ´Îı¾ÖеÄ×Ö½ÚÊý
|
Åú´¦Àí´óСÖеĽÏСÕß»ò 250 MB
|
Åú´¦Àí´óСÖеĽÏСÕß»ò 250 MB
|
ÿ¸ö varchar(max)¡¢varbinary(max)¡¢xml¡¢text »ò image ÁеÄ×Ö½ÚÊý
|
2^31-1
|
2^31-1
|
ÿ¸ö ntext »ò nvarchar(max) ÁеÄ×Ö·ûÊý
|
2^30-1
|
2^30-1
|
ÿ¸öÊý¾Ý±íµÄ¾Û¼¯Ë÷ÒýÊý
|
1
|
1
|
GROUP BY¡¢ORDER BY ÖеÄÁÐÊý
|
½öÊÜ×Ö½ÚÊýÏÞÖÆ
|
½öÊÜ×Ö½ÚÊýÏÞÖÆ
|
GROUP BY WITH CUBE »ò WITH ROLLUP Óï¾äÖеÄÁÐÊý»ò±í´ïʽÊýÄ¿
|
10
|
10
|
ÿ¸öË÷Òý¼üµÄÁÐÊý7
|
16
|
16
|
ÿ¸öÍâ¼üµÄÁÐÊý
|
16
|
16
|
ÿ¸öÖ÷¼üµÄÁÐÊý
|
16
|
16
|
ÿ¸ö·Ç¿í±íµÄÁÐÊý
|
1,024
|
1,024
|
ÿ¸ö¿í±íµÄÁÐÊý
|
30,000
|
30,000
|
ÿ¸ö SELECT Óï¾äµÄÁÐÊý
|
4,096
|
4,096
|
ÿ¸ö INSERT Óï¾äµÄÁÐÊý
|
4096
|
4096
|
ÿ¸ö¿Í»§¶ËµÄÁ¬½Ó¸öÊý
|
ÒÑÅäÖÃÁ¬½ÓµÄ×î´óÖµ
|
ÒÑÅäÖÃÁ¬½ÓµÄ×î´óÖµ
|
Êý¾Ý¿â´óС
|
524,272 TB
|
524,272 TB
|
ÿ¸ö SQL Server ʵÀýµÄÊý¾Ý¿â¸öÊý
|
32,767
|
32,767
|
ÿ¸öÊý¾Ý¿âµÄÎļþ×é¸öÊý
|
32,767
|
32,767
|
ÿ¸öÊý¾Ý¿âµÄÎļþ¸öÊý
|
32,767
|
32,767
|
Îļþ´óС£¨Êý¾Ý£©
|
16 TB
|
16 TB
|
Îļþ´óС£¨ÈÕÖ¾£©
|
2 TB
|
2 TB
|
ÿ¸ö±íµÄÍâ¼ü±íÒýÓÃÊý4
|
253
|
253
|
±êʶ·û³¤¶È£¨ÒÔ×Ö·û¼Æ£©
|
128
|
128
|
ÿ̨¼ÆËã»úµÄʵÀýÊý
|
ËùÓÐ SQL Server °æ±¾µÄ¶ÀÁ¢·þÎñÆ÷ÉÏΪ 50 ¸öʵÀý¡£
SQL Server Ö§³Ö¹ÊÕÏתÒÆȺ¼¯ÉÏÓÐ 25 ¸öʵÀý¡£
|
¶ÀÁ¢·þÎñÆ÷ÉÏΪ 50 ¸öʵÀý¡£
¹ÊÕÏתÒÆȺ¼¯ÉÏ 25 ¸öʵÀý¡£
|
°üº¬ SQL Óï¾äµÄ×Ö·û´®µÄ³¤¶È£¨Åú´óС£©1
|
65,536 * ÍøÂçÊý¾Ý°ü´óС
|
65,536 * ÍøÂçÊý¾Ý°ü´óС
|
ÿ¸öÁ¬½ÓµÄËøÊý
|
ÿ¸ö·þÎñÆ÷µÄ×î´óËøÊý
|
ÿ¸ö·þÎñÆ÷µÄ×î´óËøÊý
|
ÿ¸ö SQL Server ʵÀýµÄËøÊý5
|
×î¶à 2,147,483,647
|
½öÊÜÄÚ´æÏÞÖÆ
|
ǶÌ×´æ´¢¹ý³Ì¼¶±ðÊý6
|
32
|
32
|
ǶÌ××Ó²éѯ¸öÊý
|
32
|
32
|
ǶÌ×´¥·¢Æ÷²ãÊý
|
32
|
32
|
ÿ¸öÊý¾Ý±íµÄ·Ç¾Û¼¯Ë÷Òý¸öÊý
|
999
|
999
|
´æÔÚÒÔÏÂÈÎÒâ×Ó¾äµÄÇé¿öÏ GROUP BY ×Ó¾äÖеķÇÖظ´±í´ïʽÊýÄ¿£ºCUBE¡¢ROLLUP¡¢GROUPING SETS¡¢WITH CUBE¡¢WITH ROLLUP
|
32
|
32
|
GROUP BY ×Ó¾äÖеÄÔËËã·ûÉú³ÉµÄ·Ö×鼯ÊýÄ¿
|
4,096
|
4,096
|
ÿ¸ö´æ´¢¹ý³ÌµÄ²ÎÊý¸öÊý
|
2,100
|
2,100
|
ÿ¸öÓû§¶¨Ò庯ÊýµÄ²ÎÊý¸öÊý
|
2,100
|
2,100
|
ÿ¸öÊý¾Ý±íµÄ REFERENCE ¸öÊý
|
253
|
253
|
ÿ¸öÊý¾Ý±íµÄÐÐÊý
|
ÊÜ¿ÉÓô洢¿Õ¼äÏÞÖÆ
|
ÊÜ¿ÉÓô洢¿Õ¼äÏÞÖÆ
|
ÿ¸öÊý¾Ý¿âµÄ±íÊý3
|
ÊÜÊý¾Ý¿âÖжÔÏóÊýÏÞÖÆ
|
ÊÜÊý¾Ý¿âÖжÔÏóÊýÏÞÖÆ
|
ÿ¸ö·ÖÇø±í»òË÷ÒýµÄ·ÖÇøÊý
|
1,000
|
1,000
|
·ÇË÷ÒýÁеÄͳ¼ÆÐÅÏ¢ÌõÊý
|
30,000
|
30,000
|
ÿ¸ö SELECT Óï¾äµÄ±í¸öÊý
|
½öÊÜ¿ÉÓÃ×ÊÔ´ÏÞÖÆ
|
½öÊÜ¿ÉÓÃ×ÊÔ´ÏÞÖÆ
|
ÿ¸ö±íµÄ´¥·¢Æ÷¸öÊý3
|
ÊÜÊý¾Ý¿âÖжÔÏóÊýÏÞÖÆ
|
ÊÜÊý¾Ý¿âÖжÔÏóÊýÏÞÖÆ
|
ÿ¸ö UPDATE Óï¾ä£¨¿í±í£©µÄÁÐÊý
|
4096
|
4096
|
Óû§Á¬½Ó
|
32,767
|
32,767
|
XML Ë÷Òý
|
249
|
249
|