I backup the database, restored as different name, trying to Run the below statement before I try to run repair script, query is taking for ever to finish, any idea please,
ALTER DATABASE (db_name) SET EMERGENCY;
GO
ALTER DATABASE (db_name) SET SINGLE_USER;