You may repair sql database with Graphical Interface or alternative variant might be using
one solution from Google
- Right-click “Databases” and click the “Attach” option to open the Attach Databases dialog box.
- Click the “Add” button to open the Locate Database Files dialog box.
- Type in the full name of the .MDF file, including the full device and directory path, as the following example illustrates:
c:\data files\my_data.mdf
Click the "OK" button. SQL Server Management Studio loads the database from the .MDF file.