Hi i am using SQL SERVER 2008 R2 and i wanted to execute prestored *.sql files in a folder and wanted to run in SSMS.
can it be possible and if possible can somebody please help me to get how can we implement that?
Hi i am using SQL SERVER 2008 R2 and i wanted to execute prestored
Share
Ok If I’m clear with your question.
.sqlfile.vish.sqlname.sqlcmd -S DALVI1 -d cookbookdb -i vish.sqlNote (This is my configuration
DALVI1 is my
ServerNamecookbookdb is
database namevish.sql is
filename)Modify as per your configuration.
For More Reference