troubleshooting Question

Attempting to recover SQL DB from mdf and ldf files

Avatar of Hellyn Saunders
Hellyn Saunders asked on
DatabasesSQL
12 Comments1 Solution121 ViewsLast Modified:
Recovering SQL 2008 database from mdf and ldf files.

I have reviewed many previous questions raised here that seem quite similar to my circumstance, and that has led me to make several attempts to solve my issue, but each attempt produces an error.

Using what seems to be the most commonly recommended action...

When using Attach (right click on Databases within SQL Management studio) to attach my existing mdf and ldf files, I get an error (see attached). This suggest performing DBCC CHECKDB.
However - don't I have to have the database attached in order to run that process?

Thanks in advance for any assistance

SQL Error Message
ASKER CERTIFIED SOLUTION
Vadim Rapp

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 12 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 12 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros