Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: more than one number from sequence
"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 ApeltReceived on Thu Oct 24 2002 - 03:29:30 CDT