Subject Re: [firebird-support] Last insert id ?
Author Uwe Grauer
Velja Radenkovic wrote:
> Hello,
> 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]

No there isn't. Not in 1.5.x.
Get the id before you insert your record. with
something like 'select gen_id(generator_name, 1) from rdb$database;'

Uwe