This blog post explains the demo scripts and databases I've posted to cover all the Corruption Survival Techniques and DBCC CHECKDB sessions I've presented at conferences this year. There are two zip files you need to download: the example corrupt databases (36-MB zip) and the demo scripts. These are also both available through our past events pages.
The databases zip contains the following databases:
-
DemoDataPurity
-
DemoFatalCorruption1
-
DemoFatalCorruption2
-
DemoNCIndex
-
DemoRestoreOrRepair
-
DemoCorruptMetadata
The scripts zip contains the following directories:
-
1 - Fatal Errors
-
This makes use of the DemoFatalCorruption1 and DemoFatalCorruption2 databases. The
FatalErrors.sql script has the steps to follow and see
this blog post for a complete walk-through.
-
2 - NC Indexes
-
This makes use of the DemoNCIndex database. The
NCIndexCorruption.sql script has the steps to follow and see
this blog post for a complete walk-through.
-
3 - Data Purity
-
4 - Metadata
-
This makes use of the DemoCorruptMetadata database. The
CorruptMetadata.sql script has the steps to follow and see
this blog post for a complete walk-through.
-
5 - Restore or Repair
-
6 - Suspect Database
-
This demo doesn't come with a corrupt database - you create your own one. The
SuspectDatabase.sql script has the steps to follow and see
this blog post for a complete walk-through.
Enjoy!