Run sql from command line.

ECHO Running script01.sql...
cmd /c sqlcmd -b -i script01.sql -S localhost -d master >script01.log
IF [%ERRORLEVEL%] NEQ [0] GOTO ERROR

Last modified: May 3, 2019

Author

Comments

Write a Reply or Comment