{"id":133,"date":"2012-04-16T10:41:04","date_gmt":"2012-04-16T10:41:04","guid":{"rendered":"https:\/\/sqlserverlearner.azurewebsites.net\/2012\/04\/16\/what-is-the-maximum-batch-size-in-sql-server\/"},"modified":"2012-04-16T10:41:04","modified_gmt":"2012-04-16T10:41:04","slug":"what-is-the-maximum-batch-size-in-sql-server","status":"publish","type":"post","link":"https:\/\/sqlserverlearner.com\/2012\/04\/16\/what-is-the-maximum-batch-size-in-sql-server\/","title":{"rendered":"What is the Maximum Batch size in SQL Server?"},"content":{"rendered":"

table.hovertable {
\nfont-family: verdana,arial,sans-serif;
\nfont-size:11px;
\ncolor:#333333;
\nborder-width: 1px;
\nborder-color: #999999;
\nborder-collapse: collapse;
\n}
\ntable.hovertable th {
\nbackground-color:#c3dde0;
\nborder-width: 1px;
\npadding: 8px;
\nborder-style: solid;
\nborder-color: #a9c6c9;
\n}
\ntable.hovertable tr {
\nbackground-color:#d4e3e5;
\n}
\ntable.hovertable td {
\nborder-width: 1px;
\npadding: 8px;
\nborder-style: solid;
\nborder-color: #a9c6c9;
\n}<\/p>\n

What is the Maxmum Batch size in SQL Server?<\/strong>
\nSQL Server supports a batch size equal to 65536 * Network Packet Size.<\/p>\n

If X is the Network Packet Size then the Maxmum Batch size supported by SQL Server would be 65536 * X.<\/p>\n

Maxmum Batch size in SQL Server:<\/p>\n\n\n\n\n
Max Capacity For<\/th>\nSQL Server 2012<\/th>\nSQL Server 2008 R2<\/th>\nSQL Server 2008<\/th>\nSQL Server 2005<\/th>\n<\/tr>\n
\nMaxmum Batch size in SQL Server\n<\/td>\n\n65536 * Network Packet Size\n<\/td>\n\n65536 * Network Packet Size\n<\/td>\n\n65536 * Network Packet Size\n<\/td>\n\n65536 * Network Packet Size\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

http:\/\/msdn.microsoft.com\/en-us\/library\/ms143432.aspx<\/a>
\n
http:\/\/msdn.microsoft.com\/en-us\/library\/ms143432(v=sql.105).aspx<\/a>
\n
http:\/\/msdn.microsoft.com\/en-us\/library\/ms143432(v=sql.100).aspx<\/a>
\n
http:\/\/msdn.microsoft.com\/en-us\/library\/ms143432(v=sql.90).aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

table.hovertable { font-family: verdana,arial,sans-serif; font-size:11px; color:#333333; border-width: 1px; border-color: #999999; border-collapse: collapse; } table.hovertable th { background-color:#c3dde0; border-width: 1px; padding: 8px; border-style: solid; border-color: #a9c6c9; } table.hovertable tr { background-color:#d4e3e5; } table.hovertable td { border-width: 1px; padding: 8px; border-style: solid; border-color: #a9c6c9; } What is the Maxmum Batch size in SQL Server? SQL Server supports…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212],"_links":{"self":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/133"}],"collection":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/comments?post=133"}],"version-history":[{"count":0,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/posts\/133\/revisions"}],"wp:attachment":[{"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/media?parent=133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/categories?post=133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sqlserverlearner.com\/wp-json\/wp\/v2\/tags?post=133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}