I want to do a batch insert, similar to this question
How to do a batch insert in MySQL
What is the limitation is SQL Server on how many rows can b
You can actually pass in an unlimited number of records using a subquery.
;WITH NewData AS (SELECT * FROM ( VALUES (1, 'A'),(2,'B'),(3,'C')) x (Id, SomeName)) INSERT INTO TableName (Column1, Column2) SELECT Id, SomeName FROM NewData