With SQL databasse Reapir you can repair all the corrupt databases and restore the data from unreadable table and table spaces. It allows the user to recover the database completely and it ensures recovery of tables and other objects without changing original format. To Repair and recover a corrupt MDF file you can also apply any manual method but all methods are not safe and may effect your data and repair a corrupt sql file use SQL repair tool. Support all SQL Server 2012, MS SQL Server 2008 R2, 2008, 2008 (64 bit), 2008 Express, MS SQL Server 2005, 2005 (64 bit), 2005 Express, MS SQL Server 2000, 2000 (64 bit), 7.0 and mixed formats.
Free download it from: http://www.tools4recovery.com/sql-database-recovery.html