Subject Re: [firebird-support] Last insert id ?
Author Velja Radenkovic
Thank you. What about concurrency? For example other process adds new item
while first is between fetching next incremented field and adding an item?

Velja


On 3/10/06, Uwe Grauer <mailinglists@...> wrote:
>
> 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
>
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Visit http://firebird.sourceforge.net and click the Resources item
> on the main (top) menu. Try Knowledgebase and FAQ links !
>
> Also search the knowledgebases at http://www.ibphoenix.com
>
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>
> Yahoo! Groups Links
>
>
>
>
>
>
>


[Non-text portions of this message have been removed]