Quote:
|
Originally Posted by bala_e
In production environments runstats will be updated on every night.... and etc. Better to use select count(0) instead of count(*).
|
Why would runstats be updated every night? Maybe in your production environment, but not everyone's.
There is no difference in performance between select count(*) from
table-name, and select count(0) from
table-name.
I did not see select count(0) documented in the SQL Reference Vol 1. Although it does work like count(*), I would not use any undocumented syntax.