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

Home -> Community -> Usenet -> c.d.o.misc -> Re: Finding total Rows without count() ?

Re: Finding total Rows without count() ?

From: fumi <fumi_at_tpts5.seed.net.tw>
Date: 16 Dec 1999 15:28:13 GMT
Message-ID: <83b0ed$qb4$2@news.seed.net.tw>

<mgoelz_at_efn.org> wrote in message news:3856BD5E.C452B255_at_efn.org...
> I am not at work to try this but would opening an explicit cursor on the
> entire table (or just a canidate key) and then selecting %rowcount into
> a variable which you then display be faster? If it is you could write a
> script that contains the cursor to which you pass the table name on
> execution.

No.
You can not know how many rows the cursor will return before fetch out all of rows. Received on Thu Dec 16 1999 - 09:28:13 CST

Original text of this message

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