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

Home -> Community -> Usenet -> c.d.o.server -> Re: What's fast way to get total of records

Re: What's fast way to get total of records

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Sat, 27 Sep 2003 18:14:40 +0800
Message-ID: <3F756310.17BE@yahoo.com>

Connor McDonald wrote:
>
> zhao wrote:
> >
> > Hi,
> >
> > Can someone tell me what's fast way to get total of records in a table
> > except using "select count(*)" statement? Can I get the information from a
> > system table?
> >
> > Thanks,
> >
> > Andy
>
> select count(*) from my_table sample(0.00001)

sorry - i was being facetious Received on Sat Sep 27 2003 - 05:14:40 CDT

Original text of this message

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