Subject | Re: [firebird-support] Last insert id ? |
---|---|
Author | Uwe Grauer |
Post date | 2006-03-10T19:48:43Z |
Velja Radenkovic wrote:
Get the id before you insert your record. with
something like 'select gen_id(generator_name, 1) from rdb$database;'
Uwe
> Hello,No there isn't. Not in 1.5.x.
> Is there something like mysql function that returns last insert id for the
> connection? I know I can return it from SP but that is not an option in my
> case. I'm trying to add firebird support to existing app which utilizes ORM
> framework...
>
> Thanks,
> Velja
>
>
> [Non-text portions of this message have been removed]
Get the id before you insert your record. with
something like 'select gen_id(generator_name, 1) from rdb$database;'
Uwe