怎样恢复只有MDF的数据库
1.进入紧急模式
ALTER DATABASE test SET EMERGENCY;
GO
2.恢复只有MDF的数据库
sp_attach_single_file_db 'ContosoWF', 'E:\Xunlei\ContosoWF.mdf'
1.进入紧急模式
ALTER DATABASE test SET EMERGENCY;
GO
2.恢复只有MDF的数据库
sp_attach_single_file_db 'ContosoWF', 'E:\Xunlei\ContosoWF.mdf'