Newsletter Mailing List Added
With all the interest in the Database Corruption Challenge, and the hundreds of email message I have exchanged with people over the last 3 days relating… Read More »Newsletter Mailing List Added
With all the interest in the Database Corruption Challenge, and the hundreds of email message I have exchanged with people over the last 3 days relating… Read More »Newsletter Mailing List Added
On Saturday morning, I announced the Database Corruption Challenge, and I had to abbreviate it as the DBCC, why not, acronym overloading isn’t always a bad thing.
There were 91 participants, 22 of which ended up with correct answers with no corruption and no data loss.
I created a database, with 3 bytes of corruption in one of the leaf node pages of a clustered index, however all I stated was that the database was corrupt, and it could be fixed with no data loss.
The number of different ways that people solved the problem was amazing. There were many attempts that did remove the corruption, and did recover all the rows, however many judged success as having the same number of rows as before, as a success. There were so many successful solutions that I think I will post one a day for the rest of the week, with the details explained. One solution even involved editing the database file on disk with a hex editor. I don’t have time to post all the good solutions right now.
The original corrupt database had been created on SQL Server 2014, but many people contacted me stating that they didn’t have SQL Server 2014 on their home computer, so I ended up creating a SQL Server 2008 version of the problem, but some were so driven to solve the challenge that they ended up installing SQL Server 2014 just to work the problem.
Nice work John. Thanks for playing along, I hope you enjoyed the experience. The next tweet from Mike Fal followed the post from John Morehouse.
I hope that John took this comment from Mike Fal as a great compliments, however it was soon corrected by AJ Mendo that it is more geek than nerd.
Either way, geeks or nerds, it was a good learning experience for those involved, and for me having to evaluate each solution to determine if it was indeed a valid solution with no data loss. Personally I ended up restoring the corrupt database and testing different solutions over 50 times this weekend.
After introducing the Database Corruption Challenge (DBCC) – Week 1 Challenge yesterday, I received several requests for a SQL Server 2008 version of the challenge.… Read More »SQL Server 2008 Downloads for the Database Corruption Challenge (DBCC) Week 1
Welcome to the DataBase Corruption Challenge, this is an about weekly blog challenge where I will post a corrupt SQL Server database with some details on what happened to it.
If at this point you are already a bit irked by my use of capitalization in the DataBase Corruption Challenge, and the acronym of DBCC that I have used to describe it, then you are already ahead of many people reading about this challenge. Welcome to the challenge.
The challenge will be to download the corrupt database and attempt to recover it. If you can recover it, please send me the steps to recover it, along with some proof that the database has been recovered. The goal each week will be the following:
Read More »Introducing the DataBase Corruption Challenge (DBCC) – Week 1 Challenge
As of today, March 31st 2015, I am off on a new adventure in my life. As of today I am 100% focused on my… Read More »Introducing Stedman Solutions, LLC.
>>> Try our JOIN Types Course Today! Today’s training will be on JOINs. Here is the outline for the training. Basic SELECT INNER JOIN LEFT… Read More »TSQL Training: JOINs
Here is a quick video training on how to use the T-SQL EOMONTH function on SQL Server. This was originally part of my free SQL query training… Read More »Using The TSQL EOMONTH Function
NOTE:: There is an updated version of the poster available now. Version 4 is now available. So many times I have been asked… Read More »TSQL JOIN Types Poster (Version 3)
Here is a quick video training on how to use the T-SQL DATEADD function on SQL Server. This was originally part of my free SQL query training… Read More »Using The TSQL DATEADD Function
Understanding the transact sql (T-SQL) DATEDIFF Function: A Comprehensive Guide In this video, we dive deep into the DATEDIFF function in T-SQL, a powerful and… Read More »Using The TSQL DATEDIFF Function