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)
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…
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
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
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
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: