On Mon, Feb 11, 2002 at 10:12:33AM -0500,
"Hunter, Ray" <rhunter(at)enterasys(dot)com> wrote:
> The only problem with this solution is that I have already incremented the
> sequence and need to use the current value? Is there a way to assign the
> value to a variable and then use it in an insert statement?
You should be doing this in one transaction in which case currval should
work. If you aren't doing it in one transaction, then your application
will need to remember the current value.