yinhaosln

USE MASTER
GO
SP_CONFIGURE \'ALLOW UPDATES\',1 RECONFIGURE WITH OVERRIDE
GO
ALTER DATABASE MyDB SET EMERGENCY
GO
sp_dboption \'MyDB\', \'single user\', \'true\'
GO
DBCC CHECKDB(\'MyDB\',\'REPAIR_ALLOW_DATA_LOSS\')
GO
ALTER DATABASE MyDB SET ONLINE
GO
sp_configure \'allow updates\', 0 reconfigure with override
GO
sp_dboption \'MyDB\', \'single user\', \'false\'
GO

分类:

技术点:

相关文章:

  • 2021-07-14
  • 2021-05-20
  • 2021-09-06
  • 2021-12-09
  • 2022-12-23
  • 2021-12-19
猜你喜欢
  • 2021-12-19
  • 2021-12-19
  • 2021-11-19
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案