摘要:
BACKUP DATABASE TestDb TO DISK='d:\aaa.bak'// 备份数据库RESTORE DATABASE TestDb FROM DISK='d:\aaa.bak'WITH REPLACE,MOVE 'TestDb' TO 'd:\TestDb_Data.mdf',MOVE 'TestDb_log' TO 'd:\TestDb_Log.ldf'//恢复数据库并把数据库文件放到指定的地方RESTORE FILELISTONLY FROM DISK='d:\aaa. 阅读全文