Subject | Re: [firebird-support] Get current value from generator |
---|---|
Author | Ann W. Harrison |
Post date | 2005-07-27T21:47:52Z |
Mark Deibert wrote:
other request increments the generator, you won't get the value you just
stored.
Regards,
Ann
> I know you can use GEN_ID(gen_name,1) to get the next value. How can I getYes but remember that generators are not transaction based. If some
> the current value without incrementing it? Can I do (gen_name,0)?
>
other request increments the generator, you won't get the value you just
stored.
Regards,
Ann