I have 10 lakhs insert queries in a .sql file.
Is there any way to install all the queries at a time in sql server management studio?
When I try to do it it is raising System.OutOfMemory.Exception
Even I tried with sqlcmd command prompt but it given same result.
Thanks in Advance for suitable answer.

Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 10, 2018, 2:51 AM EST
Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 11, 2018, 9:43 PM EDT
Manish KumarRank #1,622 · 956 reputationPosted Mar 11, 2018, 9:37 PM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Mar 11, 2018, 9:44 PM EDT