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: more than one number from sequence

Re: more than one number from sequence

From: Volker Apelt <gq437x_at_yahoo.de>
Date: 24 Oct 2002 10:29:30 +0200
Message-ID: <lg65vsdytx.fsf@mu.biosolveit.local>


"Alan Mills" <Alan.Mills_at_nospamservices.fujitsu.com> writes:

> Pick any large (enough) table you have in your schema and then
>
> SELECT MySequence.NextVal
> FROM MyLargeTable
> Where ROWNUM < TheNumberIWant;

Thank you Alan,
 I'll use the 'helper table' approach without PL/SQL.

Bye,

Volker

-- 
Volker Apelt                   
Received on Thu Oct 24 2002 - 03:29:30 CDT

Original text of this message

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