还原Bak数据库到指定位置:
RESTORE DATABASE [DataBaseName] FROM DISK = N'E:\DataBase_db.BAK' WITH FILE = 1, MOVE N'DataBase_Data' TO N'D:\MSSQL\Data\DataBase.MDF', MOVE N'DataBase_Log' TO N'D:\MSSQL\Data\DataBase.LDF', NOUNLOAD, STATS = 10 GO
时间: 2024-11-29 03:06:46