Last active
February 14, 2017 14:52
-
-
Save warrenbuckley/a486d50d39024415001d to your computer and use it in GitHub Desktop.
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
/* | |
SQL CMD | |
-S Server Name | |
-U Username | |
-P MyPassword | |
-d Datbase file to excute SQL script against | |
-i SQL file to excute | |
-x Super magic switch that managed to get SQL to run when it bombed first time | |
*/ | |
sqlcmd -S "200.200.200.200" -U "fooBar" -P MyPassword" -d "databaseToExcuteSQLAgainst" -i c:\some\path\to-SQL-file.sql -x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment