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: Finding total Rows without count() ?

Re: Finding total Rows without count() ?

From: <tjmxyz_at_my-deja.com>
Date: Thu, 16 Dec 1999 08:49:09 GMT
Message-ID: <83a924$i07$1@nnrp1.deja.com>


I think I found:
select /*+index_ffs(table_name)*/ count(*) cnt from table_name WHERE recno > -999999

Where recno is a PK with a unique index on it

To be pretty quick!

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Thu Dec 16 1999 - 02:49:09 CST

Original text of this message

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