Count with NULL Values
SRI RAMOct 13 2010 — edited Oct 13 2010hi all,
what is the behaviour of the count function when working with nulls.
I created a table name dummy of only one column name as serial, and inserted 4 nulls into it.
Now when i say count(*) the result is 4 and when is say count(serial) the result is 0. If count function ignores null then count(*) should also be 0.
can anyone explain the behaviour of count function with respect to table and column.....
thanks and regards,
sri ram.