Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Restore from .df file

Author  Topic 

mazdak78
Starting Member

2 Posts

Posted - 2009-01-20 : 00:26:56
How can I restore my database from .mdf file? My .ldf file is corrupted I just can use .mdf file.

Thanks

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-01-20 : 00:29:02
You could try by attaching it with sp_attach_single_file_db. If that doesn't work, then you may be out of luck if you don't have a valid full backup.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog
Go to Top of Page
   

- Advertisement -