Two T-SQL features that I appreciate
We occasionally get cool improvements in T-SQL in newer versions of SQL Server. Here’s a short post on some of...
2019-02-05
209 reads
We occasionally get cool improvements in T-SQL in newer versions of SQL Server. Here’s a short post on some of...
2019-02-05
209 reads
A lot of us turn to execution plans when we see a slow running query, and it’s not uncommon to...
2019-02-04
213 reads
I previously wrote about measuring wait statistics. This matters a lot, because you can track historically what wait statistics are...
2019-02-02
395 reads
It depends on where you’re looking and how many statements are in the stored procedure.
Let’s take a look at some...
2019-01-31
579 reads
I didn’t expect anything for free in index maintenance. After all, it takes a lot of CPU and transaction log...
2019-02-20 (first published: 2019-01-30)
2,447 reads
This post will cover the IN clause and another way to rewrite the same logic. I don’t intend to say...
2019-01-29
2,730 reads
I use sp_WhoIsActive a lot. I’m extremely grateful for Adam Machanic writing it. It has tons of options that let...
2019-01-28
5,393 reads
So far in this series, I’ve been focusing on the Sort operator. It’s pretty easy for demos since I can...
2019-01-25
702 reads
Did you know that you can compare two execution plans in SQL Server Management?
It’s really cool. I use it a...
2019-01-25
1,015 reads
This is the sequel to “It’s always parameter sniffing (part 1).” In that post, we identified the stored procedure, and...
2019-02-14 (first published: 2019-01-23)
2,537 reads
By Steve Jones
We added costing information awhile back to Monitor for your cloud VM estate. We’ve...
Recently, in an attempt to thwart leechers (1990s kids will know), I added some...
Once upon a time I had a series about some cool stuff in Snowflake:...
Comments posted to this topic are about the item The Speed of Count
Comments posted to this topic are about the item Detecting Outliers in Power BI...
Comments posted to this topic are about the item Moving to a New Platform
Which of these might run quicker on the AdventureWorks database in SQL Server 2025?
-- A select count(*) from AdventureWorks.Sales.OrderDetail -- B select count(1) from AdventureWorks.Sales.OrderDetail -- C select count(OrderDetailID) from AdventureWorks.Sales.OrderDetailSee possible answers