Quantcast
Channel: SQL Server High Availability and Disaster Recovery forum
Viewing all articles
Browse latest Browse all 4689

How to recover .mdf file database?

$
0
0
I am having one of my database in SUSPECT mode. 

1) I tried to Detach the database and than attach it, but it did not allow me to detach from the begging. 

2) I tried to run the following commands:
ALTER DATABASE Database_Name SET EMERGENCY (Successfully).
ALTER DATABASE Database_Name SET SINGLE_USER (Successfully).
DBCC CHECKDB('Database_Name', REPAIR_ALLOW_DATA_LOSS) (Failed).

All these actions can't provide proper result. I'm using SQL Server 2014. I supposed it can't be possible in such newest version of SQL.

Viewing all articles
Browse latest Browse all 4689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>