Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> [Q] what difference between count(0), count(1) and count(*)

[Q] what difference between count(0), count(1) and count(*)

From: aaa aaa <mccdba_at_hotmail.com>
Date: Wed, 24 Oct 2001 11:11:08 -0700
Message-ID: <F001.003B37B9.20011024112648@fatcity.com>

Can anyone tell me what is difference between :

  select count(*) ... from ..

  select count(0) ...

  select coun (1) ...
  select count(2) ...

Thanks.



Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: aaa aaa
  INET: mccdba_at_hotmail.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Wed Oct 24 2001 - 13:11:08 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US