Subject | Re: Maintaining proper generator values |
---|---|
Author | soso_pub |
Post date | 2003-11-11T21:32:44Z |
I followed the discussion briefly and I would like to add a point. I
think that using _only_ the GEN_ID(...) function will not generate
duplicate values, regardless of the number of concurent conections and
the step of the generator per connection. This is what I concluded
from the documentation of IB6 and this is how it should be.
On the other hand, if you reset the value of the generator with SET
GENERATOR to a smaller value than the current, this could cause trouble.
think that using _only_ the GEN_ID(...) function will not generate
duplicate values, regardless of the number of concurent conections and
the step of the generator per connection. This is what I concluded
from the documentation of IB6 and this is how it should be.
On the other hand, if you reset the value of the generator with SET
GENERATOR to a smaller value than the current, this could cause trouble.