How do you import a large MS SQL .sql file?
From the command prompt, start up sqlcmd: sqlcmd -S <server> -i C:\<your file here>.sql Just replace <server> with the location of your SQL box and <your file here> with the name of your script. Don’t forget, if you’re using a SQL instance the syntax is: sqlcmd -S <server>\instance. Here is the list of all arguments … Read more