How to run SQL Script from a particular folder using Command Prompt


To run SQL Script stored in a particular folder using Command Prompt:


REM - Run SQL Script to prepare the database environment

ECHO Preparing Databases...

SQLCMD -E -i C:\ETL_Solution\SetupFiles\Setup.sql


Comments

Popular posts from this blog

Request failed with HTTP status 503 Server Error

First hit to Reporting services is slow