Blogs

When Were Statistics Last Updated for a Heap?

When Were Statistics Last Updated for a Heap?

on February 16, 2018 • 4 min read

I got a question last week from a very smart fellow:

How can I tell when statistics were last updated for a heap?

Before I could email him back, I soon got another email in which he answered his own question.

Continue reading

How I Accidentally Found a Passion for Plants (#TSQL2sDay 99)

How I Accidentally Found a Passion for Plants (#TSQL2sDay 99)

on February 13, 2018 • 5 min read

For TSQL Tuesday #99, @AaronBertrand gave us an invitation to write about something we’re passionate about outside of SQL Server.

Continue reading

Formatting a VTT Caption File into a Transcript with Sublime Text and Multiple Regular Expressions

Formatting a VTT Caption File into a Transcript with Sublime Text and Multiple Regular Expressions

By Kendra Little on February 8, 2018 • 4 min read

Category: career

Do you ever need to use a text editor to apply regular expressions to files? If so, this post is for you! If not, you may wanna skip it and just return to it if you ever need it.

Continue reading

Does a Clustered Index Give a Default Ordering?

Does a Clustered Index Give a Default Ordering?

By Kendra Little on February 2, 2018 • 6 min read

I recently got a great question: if I order by a column where all rows in that column have the same value, will SQL Server then order the results by the clustered index key?

Continue reading

Watch my live session: When Partitioning Indexes Hurts Performance  (and How to Fix It)

Watch my live session: When Partitioning Indexes Hurts Performance (and How to Fix It)

on January 25, 2018 • 1 min read

I’m very that my session on table partitioning from the 2017 SQL PASS Summit is being featured as one of the “Best of Summit” videos.

I had a terrific time presenting this session, thanks to everyone in the audience: you were awesome!

You can watch the video here, and follow the link above to see even more great videos from the conference for free.

Continue reading

Watch the first lesson in my new Repeatable Read and Serializable Isolation Levels course! (Video with transcript and captions)

Watch the first lesson in my new Repeatable Read and Serializable Isolation Levels course! (Video with transcript and captions)

on December 18, 2017 • 10 min read

Woo hoo! I’ve just added a new course: Repeatable Read and Serializable Isolation Levels in SQL Server.

Update: even better news… courses are now open and free for all :smile:

Continue reading

New Course: Indexing for Windowing Functions (with preview lesson)

New Course: Indexing for Windowing Functions (with preview lesson)

on December 11, 2017 • 8 min read

I’ve just added a fresh new course: Indexing for Windowing Functions.

Here’s the rundown:

Windowing functions give you great flexibility for analyzing data in SQL Server. But how can you get the best performance for your windowing functions?

In this 45 minute, demo-packed course, you will learn index design for windowing functions, when batch mode may be important, and how to compare the performance of Window Spool and Window Aggregate operators.

Continue reading