COUNT(*) counts all rows in the result set, regardless of whether any columns contain NULL values. It uses an optimized internal mechanism that doesn’t require reading specific column data. Instead, ...
The number one question when showing multiple ways to return the same result set in SQL Server is, "which one performs better?" For this post I'm going to compare COUNT vs. SUM on 1 million rows, ...