Quantcast
Channel: Aaron Bertrand, Author at SQLPerformance.com
Browsing all 85 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Bad Habits: Avoiding NULL in SQL Server

A long time ago, I answered a question about NULL on Stack Exchange entitled, “Why shouldn’t we allow NULLs?” I have my share of pet peeves and passions, and the fear of NULLs is pretty high up on my...

View Article


Image may be NSFW.
Clik here to view.

Serializing Deletes From Clustered Columnstore Indexes

At Stack Overflow, we have some tables using clustered columnstore indexes, and these work great for the majority of our workload. But we recently came across a situation where “perfect storms” —...

View Article


Image may be NSFW.
Clik here to view.

String Aggregation Over the Years in SQL Server

Since SQL Server 2005, the trick of using FOR XML PATH to denormalize strings and combine them into a single (usually comma-separated) list has been very popular. In SQL Server 2017, however,...

View Article

Image may be NSFW.
Clik here to view.

T-SQL Can Be Expressive Without Sacrificing Performance

Even with its warts and limitations, Transact-SQL is a beautiful language, allowing for flexible declarative expression about what you’re asking the database engine to do for you. Itzik Ben-Gan has...

View Article

10 For 10 : My 10 Favorite SQLPerformance Posts Over 10 Years

This is a month of milestones. I was awarded my 25th MVP award on July 5th, which I believe ties me with Tibor for the longest-tenured MVP. SQL Server 2012 went out of all forms of official support...

View Article

Browsing all 85 articles
Browse latest View live