Subject | Re: Generators don't works anymore |
---|---|
Author | Adam |
Post date | 2007-12-17T22:25:05Z |
>This statement fails to call the gen_id function, and even if it did,
> 1 - select (gen_comuni_id,0) from rdb$database : value
it adds zero to gen_comuni_id then returns it. Why would you expect
the value to change???
Try:
select gen_id(gen_comuni_id,1) from rdb$database
That should return the next value every time it is called.
Adam