摘要: 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. 阅读全文
posted @ 2011-12-14 21:40 广拓小程序 阅读(161) 评论(0) 推荐(0) 编辑