differenct between count(0), count(1) and count(*)...???
544878Jun 19 2007 — edited Jun 30 2007Hi,
Please clarify the difference b/w count(0), count(1) and count(*)...???.
SQL> set timing on
SQL> select count(0) from trade
2 /
COUNT(0)
----------
112158506
Elapsed: 00:00:03.08
SQL> ed
Wrote file afiedt.buf
1* select count(1) from trade
SQL> /
COUNT(1)
----------
112158506
Elapsed: 00:00:02.01
SQL> ed
Wrote file afiedt.buf
1* select count(*) from trade
SQL> /
COUNT(*)
----------
112158506
Elapsed: 00:00:02.03
SQL>
Is there any differences??
Thanks
SATHYA