Change the database context to Master and allow updates to system tables: Use Master Go sp_configure 'allow updates', 1 reconfigure with override GoSet the database in Emergency (bypass recovery) mode: select * from sysdatabases where name = '<db_name>' -- note the value of the status column for later use in # 6 begin tran update sysdatabases set status = 32768 where name = '<db_n
Leggi tutto il post...