General information
Category:
Coding, syntax & commands
Title:
Different behavior of COUNT(*) and SUM()
Environment versions
Network:
Windows 2008 Server
Hi,
If I select records that don't satisfy my criteria I get 0 for count(*), but NULL for sum(IIF(myCondition, 1,0))
Is this a documented beahvior?
Thanks.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only