Use Master Go RESTORE DATABASE YourDB FROM DISK = 'C:\YourBaackUpFile.bak' WITH MOVE 'YourMDFLogicalName' TO 'D:\DataYourMDFFile.mdf',--adjust path MOVE 'YourLDFLogicalName' TO 'D:\DataYourLDFFile.mdf'
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)