Udfør følgende sæt forespørgsler:
ALTER DATABASE [DBName] SET EMERGENCY;
GO
ALTER DATABASE [DBName] set single_user
GO
DBCC CHECKDB ([DBName], REPAIR_ALLOW_DATA_LOSS) WITH ALL_ERRORMSGS;
GO
ALTER DATABASE [DBName] set multi_user
GO
For mere info:https://www.stellarinfo.com/blog/fix-sql-database-recovery-pending-state-issue/