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
 General SQL Server Forums
 Data Corruption Issues
 Missing Log File

Author  Topic 

y.koteswarrao
Starting Member

3 Posts

Posted - 2009-02-21 : 03:37:59
Hi DBA's

This is an interview question how to recover the missing log file(.LDF)?

Koteswar Rao.

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2009-02-21 : 08:57:49
If SQL Server was closed properly you can use:

sp_attach_single_file_db
Go to Top of Page

paulrandal
Yak with Vast SQL Skills

899 Posts

Posted - 2009-02-23 : 20:31:12
I don't think you should apply for the job if you don't know the answer already.

Paul S. Randal, Managing Director, SQLskills.com (www.SQLskills.com/blogs/paul)
SQL Server MVP, Contributing Editor of TechNet Magazine
Author of SQL 2005 DBCC CHECKDB/repair code
Author & Instructor of Microsoft Certified Master - Database course
Go to Top of Page
   

- Advertisement -