Skip to content

Instantly share code, notes, and snippets.

@AlbertoMonteiro
Created March 14, 2018 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AlbertoMonteiro/db2e42cd2e3be96b5dfb49a2bf97413f to your computer and use it in GitHub Desktop.
Save AlbertoMonteiro/db2e42cd2e3be96b5dfb49a2bf97413f to your computer and use it in GitHub Desktop.
Restore Sql Server database from a script using sqlcmd
"C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\130\Tools\Binn\SQLCMD.EXE" -S ".\sqlexpress" -i "C:\temp\RestoreDb.sql"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment