Re: INSERT and get ID

Поиск
Список
Период
Сортировка
От Peter.Zoche@materna.de
Тема Re: INSERT and get ID
Дата
Msg-id 3617A3C21370D045B75C0A40A7A6530D0B37E19A@ntexc2buc.do-office.buc.materna.com
обсуждение исходный текст
Ответ на INSERT and get ID  (Peter.Zoche@materna.de)
Ответы Re: INSERT and get ID  (Csaba Nagy <nagy@ecircle-ag.com>)
Re: INSERT and get ID  (Dave Cramer <pg@fastcrypt.com>)
Re: INSERT and get ID  (Roland Walter <rwa@mosaic-ag.com>)
Список pgsql-jdbc
> You have to do a a "SELECT curval('myseq')" after the insert.

I had this in mind, too, but I am not sure if it is really safe if
there are several inserts at the same time...

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Roland Walter
Дата:
Сообщение: Re: INSERT and get ID
Следующее
От: Csaba Nagy
Дата:
Сообщение: Re: INSERT and get ID