SQL DB into SUSPECT mode
Following are the SQL commands which I talked about:
- EXEC sp_resetstatus ‘YOUR_DB_NAME’;
- ALTER DATABASE YOUR_DATABASE_NAME SET EMERGENCY
- DBCC checkdb(‘YOUR_DB_NAME’)
- ALTER DATABASE YOUR_DATABASE_NAME SET SINGLE_USER WITH ROLLBACK IMMEDIATE
- DBCC CheckDB (‘YOUR_DB_NAME’, REPAIR_ALLOW_DATA_LOSS)
- ALTER DATABASE YOUR_DB_NAME SET MULTI_USER
Комментарии
Отправить комментарий