Back to Basics: Count, Count, Count, Sum or how to Count (weblogs.sqlteam.com)
submitted by
spirit1(3160) 4 years, 3 months ago
There are at least 4 ways you can COUNT in SQL Server: COUNT(*), COUNT(ColumnName), COUNT(DISTINCT ColumnName) AND SUM()
All 4 combined can be used to speed up queries especially for reporting.
|category: Database
|Views: 13
tags:
SQLServer 2000 Database 2005 another
Everyones tags:
Your Tags: