Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: current sequence value
sequence.CurrVal
Erik Forkalsrud wrote in message <369D04F2.973C5399_at_acim.com>...
>
>Hi,
>
>I'm a newbie when it comes to Oracle, and I'm trying to move
>an MS SQL based application to Oracle 8.
>
>The MS SQL application uses the construct:
> INSERT INTO table_with_identity_column
> SELECT @@Identity
>
>I have figured out how to create a sequence object and a
>trigger to insert sequential values, but I haven't figured
>out how to retrieve the current value of a sequence object.
>Do sequence objects have other methods than mysequence.nextval
>(something like mysecquence.currentval) that I can use?
>
>Suggestions are appreciated.
>
>Erik Forkalsrud
>
Received on Wed Jan 13 1999 - 16:06:38 CST
![]() |
![]() |