用命令还原数据库

RESTORE FILELISTONLY
FROM DISK = '文件路径\RMSys20100726.bak'


RESTORE DATABASE RMSys
FROM DISK = '文件路径\RMSys20100726.bak'
WITH MOVE 'RMS_Data' TO '文件路径\RMSys.mdf',
MOVE 'RMS_Log' TO '文件路径\RMSys_log.ldf'
GO

转载于:https://www.cnblogs.com/chenqw/archive/2012/04/17/2453214.html

你可能感兴趣的:(数据库)