If you have so much data, isnโt it much easier and smarter to have this data, for example. CSV file and then bulk import this data into SQL Server?
Check out the BULK INSERT team - allowing you to quickly and efficiently load large amounts of data into SQL Server - much better than such a huge SQL file!
The command looks something like this:
BULK INSERT dbo.YourTableName
FROM 'yourfilename.csv'
WITH ( FIELDTERMINATOR =';',
ROWTERMINATOR =' |\n' )
, .