In this post I cover some unpleasant side-effects of using heaps in SQL Server for anything else than staging tables. In the past couple of months I’ve been running into …
SQL Server
-
-
It’s time for my annual roundup of the most popular blog posts in 2025 by views, likes, and comments. This year also came with an important milestone – passing the …
-
I recently ran into SQL Server’s page compression being applied to a heap, and I figured I’d cover why that won’t work how some folks expect. SQL Server’s page compression …
-
SQL Server Management Studio 22 just went GA this week, so I figured I’d document my new configuration in a blog post. A while ago I made a post about …
- ScriptsSecuritySQL Server
Replicating SQL Server 2025’s PBKDF2 hashing algorithm using T-SQL
by Vlad DrumeaIn this post I talk some more about SQL Server 2025’s new PBKDF2 and demo a method to replicate it using T-SQL. Intro Back in June I wrote a post …
-
SQL Server Management Studio 22 Preview 3 was released 2 days ago, and since I didn’t have the time to try out the previous preview versions, I took it out …
- SecuritySQL Server
PoCs for two SQL Injection vulnerabilities fixed in SQL Server 2022 GDR KB5063814
by Vlad DrumeaIn this post I demo two PoCs for SQL injection vulnerabilities fixed in SQL Server 2022 CU20 GDR KB5063814. This August’s Patch Tuesday came with a security patch for SQL …
- PerformancePowerShellSQL Server
Diagnosing SQL Server with PSBlitz – 3-year anniversary post
by Vlad DrumeaThis post is an overview of PSBlitz, how I use it in diagnosing SQL Server issues, and the notable changes it went through over the past 3 years. Intro In …
-
There’s this weird misconception floating around LinkedIn and reddit that SQL Server CTEs somehow store results in either memory or tempdb. This is wrong and whoever states that CTEs store …
- ScriptsSQL Server
Script to reseed out-of-sync sequences used for default constraints
by Vlad DrumeaThis is a script that I wrote to help me next time I might need to bulk reseed out-of-sync SQL Server sequences tied to default constraints. Setting the scene Someone, …