This holiday season, we're running a sale specifically for fast learners. For record-low prices, get access to my SQL Server and Azure SQL DB training classes - but only for 3 months. If you're confident you can get your learn on quick, this…
This holiday season, we're running a sale specifically for fast learners. For record-low prices, get access to my SQL Server and Azure SQL DB training classes - but only for 3 months. If you're confident you can get your learn on quick, this…
It's the perfect time of year in Las Vegas when we can chill outside by the fire, enjoy a glass of wine, and go through your top-voted questions from Here's what we covered: 00:00 Start 00:54 iliyan Rashev: Hello Brent, I am on SQL Server 2019 RTM Please…
It's the perfect time of year in Las Vegas when we can chill outside by the fire, enjoy a glass of wine, and go through your top-voted questions from Here's what we covered: 00:00 Start 00:54 iliyan Rashev: Hello Brent, I am on SQL Server 2019 RTM Please…
First off, I understand if you read the headline and you have a knee-jerk reaction. I totally understand that there are a lot of people out there who hate AI, and believe me, I hate most uses of it. Lots of its advice can be misleading at…
First off, I understand if you read the headline and you have a knee-jerk reaction. I totally understand that there are a lot of people out there who hate AI, and believe me, I hate most uses of it. Lots of its advice can be misleading at…
In last week's Query Exercise, I challenged you to play some code golf to generate big spills with tiny T-SQL. Today, I'm going to walk you through my thought process - the initial attempts I tried and failed with, and the discoveries I made…
In last week's Query Exercise, I challenged you to play some code golf to generate big spills with tiny T-SQL. Today, I'm going to walk you through my thought process - the initial attempts I tried and failed with, and the discoveries I made…
You work with Microsoft SQL Server, Azure SQL DB, and Amazon RDS SQL Server. When people call in saying the server is slow, you're the one who has to take the call. It's up to you to figure out the bottleneck, which queries are causing that…
You work with Microsoft SQL Server, Azure SQL DB, and Amazon RDS SQL Server. When people call in saying the server is slow, you're the one who has to take the call. It's up to you to figure out the bottleneck, which queries are causing that…
Ever wonder how big your database estate is compared to others? Whether you've got more servers, more databases, more workloads, or more problems? Well, if you're one of my SQL ConstantCare® customers, check your email: our first set of badges just…
Ever wonder how big your database estate is compared to others? Whether you've got more servers, more databases, more workloads, or more problems? Well, if you're one of my SQL ConstantCare® customers, check your email: our first set of badges just…
Nah, not necessarily. SQL Server's query optimizer behavior keeps changing with every freakin' version. Let's illustrate it with a simple query against the Stack Overflow Users table: CREATE INDEX Location ON dbo.Users(Location); GO SELECT COUNT(*)…
Nah, not necessarily. SQL Server's query optimizer behavior keeps changing with every freakin' version. Let's illustrate it with a simple query against the Stack Overflow Users table: CREATE INDEX Location ON dbo.Users(Location); GO SELECT COUNT(*)…
When I was testing SQL Server 2025's new ability to limit TempDB usage with Resource Governor, I wrote a few fun diabolical demos. One of them was to generate giant spills to TempDB, quickly. When you're looking at an actual (not estimated) query plan, and…
When I was testing SQL Server 2025's new ability to limit TempDB usage with Resource Governor, I wrote a few fun diabolical demos. One of them was to generate giant spills to TempDB, quickly. When you're looking at an actual (not estimated) query plan, and…