Sunday 30 March 2014

Execute Huge SQL Script File through SQLCM



Run Command Prompt as Administrator and cd in the folder which contains the DB script file

sqlcmd -S ServerName -d dataBaseName -i scriptFile.sql -o outputFile.txt

No comments:

Post a Comment