Hey gang,
I've been trying to restore a DB from it's MDF and LDF all morning;
the catch? The LDF appears to be corrupt.
When I first started the SQL Server, the db in question was marked as
"Suspect'. I did some research on this and it has caused me to attempt
detaching, backing up, deleting the LDF, using ATTACH DB and even
sp_attach_singl e_file_db, and sp_add_data_fil e_recover_suspe ct_db.
Nothing works.
So, with an MDF and no LDF ... is it possible to recreate this
database somehow? Can I attach the MDF to another (empty) database to
retrieve it's contents? (Tried it, couldn't get it to work), can I
extract the contents of the MDF - even if it's just the objects and
not the data itself - in some capacity?
I've read in various places about attaching an MDF with no LDF and the
system will recreate the LDF as needed, but that doesn't work either.
Ideas are most, most, most welcome.
I've been trying to restore a DB from it's MDF and LDF all morning;
the catch? The LDF appears to be corrupt.
When I first started the SQL Server, the db in question was marked as
"Suspect'. I did some research on this and it has caused me to attempt
detaching, backing up, deleting the LDF, using ATTACH DB and even
sp_attach_singl e_file_db, and sp_add_data_fil e_recover_suspe ct_db.
Nothing works.
So, with an MDF and no LDF ... is it possible to recreate this
database somehow? Can I attach the MDF to another (empty) database to
retrieve it's contents? (Tried it, couldn't get it to work), can I
extract the contents of the MDF - even if it's just the objects and
not the data itself - in some capacity?
I've read in various places about attaching an MDF with no LDF and the
system will recreate the LDF as needed, but that doesn't work either.
Ideas are most, most, most welcome.
Comment