Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: sequence doesn't work ?
On Mon, 02 Feb 2004 14:45:09 +0100, krzys wrote:
>
> select counter.currval from dual
>
> but en error appears : ORA-08002: COUNTER.CURRVAL hasn't been defined in
> ths session yet ???????????????????
You use nextval to get a new sequence and if you need the same value to place in other tables you use currval. Received on Mon Feb 02 2004 - 07:49:58 CST