There are two ways by which you can repair SQL database file. First is manual which requires no paid software. You just need to use Microsoft SQL Server Management Studio and run a couple of database console commands (DBCC) which are: DBCC DBREPAIR and DBCC CHECKDB. You can read this blog post for more information - wordpress.semnaitik.com/2014/02/22/repair-sql-database/

If this fails or doesn't work, you can try professional recovery solution. Download free demo version of SQL Database Recovery software to repair SQL database files and to recover maximum possible data from them. It supports all popular SQL Server versions, such as: 2000, 2005, 2008, 2012 and 2014. It allows users to save recovered data into a new SQL Server Database as well as into SQL Scripts. For more information, visit - www.data-recovery-solutions.com/sql-database-recovery.php

I hope the shared information would be helpful here.

Thanks and best regards.