SQL RNNR

Blog Post

IO IO IO

Once again it is that time.  It is TSQL Tuesday.  This time it is being hosted by Mike Walsh.  Mike...

2010-03-09

1,415 reads

Blog Post

Index your FK

A few months ago I read an article from SQLServerCentral.com about some Foreign Key gotchas.  Since that article, I have seen...

2010-03-05

885 reads

Blog Post

DBA MD

I just had the opportunity to spend some time with my four year old son at the doctor’s office.  It...

2010-02-25

629 reads

Blogs

Monday Monitor Tips: Cloud Migration

By

We added costing information awhile back to Monitor for your cloud VM estate. We’ve...

Word to the wise: don’t turn on SQL vulnerability checks on a blog about SQL

By

Recently, in an attempt to thwart leechers (1990s kids will know), I added some...

Dazzling Stuff in Databricks (SQL) – Qualify

By

Once upon a time I had a series about some cool stuff in Snowflake:...

Read the latest Blogs

Forums

The Speed of Count

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Speed of Count

Detecting Outliers in Power BI Using IQR

By Dinesh Asanka

Comments posted to this topic are about the item Detecting Outliers in Power BI...

Moving to a New Platform

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Moving to a New Platform

Visit the forum

Question of the Day

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.OrderDetail

See possible answers