Archives: January 2011
Internals Matter: Why You Should Check Your Page Verify Settings, and I Should Go to Masters Immersion Training (SQL Skills Contest Entry)
This post is about two things:
1) Your Page Verification Settings are Critical
You should confirm you are running with the correct page verification settings on your SQL Server databases. It’s very important, and I’ll show you why.
2) I Should Attend the Awesome SQLSkills Master Immersion Event – Internals…
2 comments, 300 reads
Posted in LittleKendra on 25 January 2011
Corrupting Databases for Dummies- Hex Editor Edition
Let’s make one thing clear from the start:
This Post Tells You How To Corrupt a SQL Server Database with a Hex Editor in Gruesome Detail
And that’s all this post tells you. Not how to fix anything,… Read more
3 comments, 606 reads
Posted in LittleKendra on 24 January 2011
Read from the Right End of the Index: BACKWARD Scans
Optimizing queries is the most fun when you don’t need to add indexes. There’s nothing quite so nice as finding a way to make reading data faster, without slowing down writes or creating new data structures that need to be maintained.
Here’s one way you can use BACKWARD scans to… Read more
1 comments, 502 reads
Posted in LittleKendra on 21 January 2011
Date Rounding Tactics and the Tiny Devil of SMALLDATETIME
With every new year I think a little bit about time and dates. This posts looks a little more at that in TSQL.
Rounding Dates: Which way is best?
Sometimes in TSQL you need to round a datetime value to the precision of either a day, hour, minute,… Read more
7 comments, 783 reads
Posted in LittleKendra on 6 January 2011
Filling in Data Potholes Redux: Tally Tables vs CTEs
In A Previous Installment
… our heroine (that’s me) rediscovered CTEs, specifically in the recursive style. That was in my post “Filling in Data Potholes with Recursive CTEs.”
To recap: I was working on a problem with gaps in temporal data. The basic scenario was:
Imagine that…
1 comments, 318 reads
Posted in LittleKendra on 4 January 2011



Subscribe to this blog