标签:
编写人:CC阿爸
2014-6-15
在日常SQL数据库的操作中,如何恢复数据库
use master
drop database SCS1
RESTORE DATABASE SCS1 from disk=‘C:\Documents and Settings\kevinzhang\桌面\eee.bak‘
USE master
RESTORE DATABASE SCS1
from disk=‘C:\Documents and Settings\kevinzhang\桌面\eee.bak‘
WITH MOVE ‘SCS‘ TO ‘D:\DataBase\SCS1.mdf‘,
MOVE ‘SCS_log‘ TO ‘D:\DataBase\SCS1_log.ldf‘,
STATS = 10, REPLACE
标签:
原文地址:http://www.cnblogs.com/bribe/p/3791714.html