2025-04-30
461 reads
2025-04-30
461 reads
2025-04-21
1,926 reads
I have heard of the default trace in SQL Server. I know it’s on by default, but I don’t know how to use it. What can I do with the default trace?
2025-04-18
From time to time, I encounter blocking situations where I end up issuing a SQL KILL command against the blocking SPID. When I run sp_who2, I can see the killed SPID is in a ROLLBACK state. Is there any way I can get an idea of how long the rollback for the SPID will take?
2025-04-09
2025-04-04
1,270 reads
Over the last several years, Microsoft has been putting less and less effort into Cumulative Update documentation. We used to get full-blown knowledge base articles about fixes, but these days, we get a collection of footnotes with deceiving hyperlinks that look like they’re going to lead to more information – but they simply lead back to themselves.
2025-03-31
2025-03-28
1,167 reads
The documentation cautions that cumulative updates (CU) could fail if a specific registry key isn’t updated after moving the master files, so I wanted to test this before I spent too much time configuring the server.
2025-03-12
Today Steve asks if you track the details of your table growth inside a database.
2025-03-07
219 reads
There may come a time when you want to or need to rename a database. In this tip we look at a couple different options.
2025-01-31
A practical guide to building an AI Center of Excellence, from choosing the right...
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...
TELP//CS 0823 7845 7012 Jl. Merdeka No.151, Ps. Tengah, Kec. Curup, Kabupaten Rejang Lebong,...
TELP//CS 0823 7845 7012 Jl. Pecenongan No.86, RT.2/RW.4, Kb. Klp., Kecamatan Gambir, Kota Jakarta...
Comments posted to this topic are about the item The Speed of Count
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