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: Howto put a sequence in a variable.

Re: Howto put a sequence in a variable.

From: Paul Nguyen <pnguyen_at_nuforia.com>
Date: Wed, 17 Nov 1999 10:43:33 -0600
Message-ID: <3832DB34.1AC6BD25@nuforia.com>


select sequence.nextval
into l_id
from dual;

that it.

Dirk Joosen wrote:

> Hello
>
> Is it possible to get the value of a sequence and to write these to
> an variable. I could be something like
> l_id NUMBER;
> l_id : = SEQUENCE.NEXTVAL;
>
> This is not allowd but is there a possibility to make this work???
> Regards and thanks Dirk
Received on Wed Nov 17 1999 - 10:43:33 CST

Original text of this message

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