skip to main
|
skip to sidebar
SQL Server Developer DBA BestPractices&internals
Monday, December 7, 2009
SQL Server Small Thigs-- But Overlooked
1.Count(*) is the only aggregate that considers null values in the group. Consider the column Quantity with values {10,20,30,40,NULL,50}
Count(*) will give 6
Count(Quantity) will give 5
--More to Come..
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2010
(2)
►
August
(2)
▼
2009
(2)
▼
December
(2)
SQL Server Small Thigs-- But Overlooked
SQL Server Best Practise -- Writing Queries.
About Me
vinay
View my complete profile
No comments:
Post a Comment