Subject | Re: [ib-support] Generator |
---|---|
Author | Nando Dessena |
Post date | 2002-06-14T07:42:35Z |
Massimo,
the row you have just inserted. In a multiuser environment that isn't
guaranteed.
Ciao
--
____
_/\/ando
> > INSERT INTO a (id, a, b, c) VALUES (GEN_ID(A_GEN, 1), 'asdasd',But, please, don't count on that value being the same as the ID field of
> 'asdasdasd',
> > 'asdasdasdasd');
> > --- how to access here the current generator value?
>
> select gen_id(A_GEN, 0) as GenValue from RDB$Database
the row you have just inserted. In a multiuser environment that isn't
guaranteed.
Ciao
--
____
_/\/ando