复制代码 代码如下:
use master
restore database AdventureWorks from disk = 'E:/databasebackup/AdventureWorks.bak'
with replace, MOVE N'AdventureWorks_Data' TO N'C:/Program Files/Microsoft SQL Server/MSSQL.5/MSSQL/Data/AdventureWorks.mdf', MOVE N'AdventureWorks_Log' TO N'C:/Program Files/Microsoft SQL Server/MSSQL.5/MSSQL/Data/AdventureWorks_log.ldf'
新闻热点
疑难解答