sql2000 还原BAK文件

restore database SGD
from disk='C:\20141023.bak' --c:\a.bak是备份文件名
with move 'AIS20050620140226_Data' to 'c:\SGD.mdf' --将sxt_dat恢复到文件c:\sxt.mdf
,move 'AIS20050620140226_log' to 'c:\SGD.ldf' --将sxt_log恢复到文件c:\sxt.ldf

posted @ 2014-10-30 10:18  BeamWen  阅读(306)  评论(0编辑  收藏  举报