December 30, 2009 at 7:48 am
Anybody knows how to corrupt database file(MDF) ?
December 30, 2009 at 7:54 am
Do you mean make a corrupt mdf on purpose?
Use a hex editor to scribble on some random part of the file.
December 30, 2009 at 8:12 am
Make sure the MDF file is a dummy file you created for this test purpose.
Blog -- LearnSQLWithBru
Join on Facebook Page Facebook.comLearnSQLWithBru
Twitter -- BruMedishetty
December 30, 2009 at 8:42 am
Shut down the server, muck with the file using an editor as Steve said, restart the server. Tada. Totally hosed database.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
December 30, 2009 at 10:30 am
Steve Jones - Editor (12/30/2009)
Do you mean make a corrupt mdf on purpose?Use a hex editor to scribble on some random part of the file.
Yes.. ok will try and update you thanks
December 31, 2009 at 8:46 am
Grant Fritchey (12/30/2009)
Shut down the server, muck with the file using an editor as Steve said, restart the server. Tada. Totally hosed database.
thanks .. data base file has corrupted successfully 🙂
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply