Attaching .mdf file with database changes mode of database?
I have attached the database in SQL Server 2005 using .mdf file. But as soon as it was attached, database went to suspected mode. I tried a set of statements to recover it to normal state but after running those queries, its status changed to emergency mode.
Can you please tell me that how can I recover my database from emergency mode to normal?








