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: Counting number of rows, sequences

Re: Counting number of rows, sequences

From: Juan Cachito Reyes Pacheco <jreyes_at_dazasoftware.com>
Date: Tue, 17 Feb 2004 18:03:14 -0400
Message-ID: <000f01c3f5a1$d8ec4b10$2501a8c0@dazasoftware.com>


The other choice if you have to frecuently do counts to that table is a sequence

You create an addiatoinal field with a sequence

CREATE SEQUENCE, etc.

row sequence

1       1
2        2

....
1234 1234

Then you select from the sequence the currval, and this is immediate.



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 Tue Feb 17 2004 - 16:03:14 CST

Original text of this message

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