Subject | Re: [firebird-support] Getting ID from generator |
---|---|
Author | Hans |
Post date | 2005-12-15T02:45:18Z |
If there is always only ONE user doing this, you could use
last.microarrayid = gen_id(microarray_id_gen, 0);
but it is much safer to use your obtained new.microarrayid
from previous new.microarrayid = gen_id(microarray_id_gen, 1);
fort all your sub-table inserts.
last.microarrayid = gen_id(microarray_id_gen, 0);
but it is much safer to use your obtained new.microarrayid
from previous new.microarrayid = gen_id(microarray_id_gen, 1);
fort all your sub-table inserts.