Created
February 21, 2021 01:13
-
-
Save haroldcris/6422f3de9cc14d8333044e917a2e91be to your computer and use it in GitHub Desktop.
Restore Database without Log File
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
CREATE DATABASE MDF_FILE_NAME | |
ON (FILENAME = 'C: \Filepath\File_name.mdf') | |
FOR ATTACH_ REBUILD_LOG | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment