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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Difference between count(1) and count(*)

Re: Difference between count(1) and count(*)

From: Jeremiah Wilton <jwilton_at_speakeasy.net>
Date: Wed, 7 Jul 2004 23:31:41 -0700 (PDT)
Message-ID: <Pine.LNX.4.58.0407072330460.30320@shell2.speakeasy.net>


> On Thu, 8 Jul 2004 11:27:28 +0530 oracle-l_at_freelists.org wrote:
> > Can you let me know the difference between count(*) and count(1) ?
>
> count(1) is supposed to be more efficient and faster.

Oh boy, here we go.

--
Jeremiah Wilton
http://www.speakeasy.net/~jwilton
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Jul 08 2004 - 01:28:28 CDT

Original text of this message

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