How to repair SharePoint Server database?
Corrupted or damaged MDF files of SharePoint server cannot be recovered manually. For this, you have to look for third party software like Kernel for SharePoint Server.
Most common reasons of SharePoint database corruption are drive failures, accidental file deletion on WSS websites, server downtime, drive failures, saved backup turned bad etc. Until MDF file data become inaccessible, you should try Kernel for SharePoint Server recovery tool. It quickly and accurately repair SharePoint server data.