Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Cade Bryant,
Adding a column header on count function
Count Function with condition
Putting a column name in a COUNT() function may not always give you what you are looking for.
The COUNT function is among the most used functions in the T-SQL codes. Even though COUNT is easy to...
how to use the COUNT Function