日期:2014-05-16 浏览次数:20941 次
RESTORE DATABASE [test] FILE = N'tagl', FILE = N'F' FROM DISK = N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\Backup\tagl.bak' WITH FILE = 1, MOVE N'tagl' TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test.mdf', MOVE N'F' TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test_0.ndf', MOVE N'tagl_log' TO N'C:\Program Files\Microsoft SQL Server\MSSQL10_50.MSSQLSERVER\MSSQL\DATA\test_1.LDF', NOUNLOAD, REPLACE, STATS = 10
GO