Subject | Re: [ib-support] Re: getting the generated ID |
---|---|
Author | Woody |
Post date | 2001-12-14T02:11:42Z |
From: "zifnabbe" <zifnabbe@...>
Both IBO and IBX have a way to specify the generator and the field and they
will automatically do this for you when you insert a new record.
HTH
Woody
> What is the function to retrieve the ID which is inserted by theSelect gen_id(generator_name, 1) from rdb$database
> insert stored procedure? Or do you mean, creating a stored procedure
> which calls the GEN_ID itself and thus not using the before insert
> trigger?
>
Both IBO and IBX have a way to specify the generator and the field and they
will automatically do this for you when you insert a new record.
HTH
Woody