Blogs

Read from the Right End of the Index: BACKWARD Scans

Read from the Right End of the Index: BACKWARD Scans

By Kendra Little on January 21, 2011 • 5 min read

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.

Continue reading

Writing a Technical Blog: Why to do it and what to write about

Writing a Technical Blog: Why to do it and what to write about

on January 13, 2011 • 5 min read

Recently I read Paul Randal’s ( blog | twitter ) post, “So you want to blog about SQL Server?” and it got me to thinking.

Continue reading

2011: More Nerdy Drawrings (TSQL Tuesday #14)

2011: More Nerdy Drawrings (TSQL Tuesday #14)

on January 11, 2011 • 2 min read

Tags: tsql2sday , art

This month’s #tsql2sDay is hosted by Jen McCown ( blog | twitter ) and Jen’s question is “What techie resolutions have you been pondering, and why?

Continue reading

Date Rounding Tactics and the Tiny Devil of SMALLDATETIME

Date Rounding Tactics and the Tiny Devil of SMALLDATETIME

By Kendra Little on January 6, 2011 • 7 min read

With every new year I think a little bit about time and dates. This posts looks a little more at that in TSQL.

Continue reading

Filling in Data Potholes Redux: Tally Tables vs CTEs

Filling in Data Potholes Redux: Tally Tables vs CTEs

on January 4, 2011 • 7 min read

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.”

Continue reading

2010 liner notes and my theme for 2011

2010 liner notes and my theme for 2011

on December 30, 2010 • 5 min read

The MorningNews asked the following question recently:

Who you would recognize in your 2010 liner notes?

Continue reading

Filling in Data Potholes with Recursive CTEs

Filling in Data Potholes with Recursive CTEs

on December 23, 2010 • 4 min read

Tags: cte

Imagine that you are writing a script that looks at data grouped by the minute. You notice that there are no rows for some minutes, and you’d like to display a value when that is the case, probably showing a count of zero.

Continue reading