EXEC sp_resetstatus [AC_001_1];
ALTER DATABASE [AC_001_1] SET EMERGENCY
DBCC checkdb([AC_001_1])
ALTER DATABASE [AC_001_1] SET SINGLE_USER WITH ROLLBACK IMMEDIATE
DBCC CheckDB ([AC_001_1], REPAIR_ALLOW_DATA_LOSS)
ALTER DATABASE [AC_001_1] SET MULTI_USER

ALTER DATABASE [AC_001_1] SET OFFLINE WITH
ROLLBACK IMMEDIATE

ALTER DATABASE [AC_001_1] SET ONLINE
