mssql恢复

restore database a from disk='b.bak' with file=1, nounload,replace, stats=10
with move 'a' to 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\a.mdf',
move  'a_log' to 'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\a_log.LDF'

转载于:https://www.cnblogs.com/duhai_lee/archive/2010/09/02/1815663.html

你可能感兴趣的:(mssql恢复)