The max size of a SQL Batch query is 65536 bytes.
If you are using dynamic SQL the max size of the command if 4000 characters as the data type must be NVARCHAR.
Last Wiki Answer Submitted: February 22, 2008 5:27 am by Denny Cherry64,520 pts.
All Answer Wiki Contributors: Denny Cherry64,520 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.