Last active
August 29, 2015 14:13
-
-
Save bvanskiver/88c8503e544845fa996f to your computer and use it in GitHub Desktop.
Run all SQL scripts in folder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for /R "C:\Database\Stored Procedures" %i in (*.sql) do sqlcmd -S -T . -d DatabaseName -i "%~fi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment