Created
January 13, 2020 19:02
-
-
Save arekgotfryd/33e062dd28e5c1b77610666700952c2d 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
RESTORE DATABASE dbname FROM DISK = 'C:\whatever\dbname.bak' | |
WITH MOVE 'dbname_data' TO 'C:\...\dbname.mdf', | |
MOVE 'dbname_log' TO 'C:\...\dbname.ldf'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment