getting auto increment id value

Поиск
Список
Период
Сортировка
От M. Emre Çolak
Тема getting auto increment id value
Дата
Msg-id DUB110-DS244924AB9860CA93A20F14D7BD0@phx.gbl
обсуждение исходный текст
Ответ на type list  ("Jean-Yves F. Barbier" <12ukwn@gmail.com>)
Ответы Re: getting auto increment id value  (Josh Kupershmidt <schmiddy@gmail.com>)
Список pgsql-novice
Hi,
    I have a table and it's only distinct value is it's auto incremented id.
I need to insert like 80.000 rows at ones so I have some time issues.
Problem is I need a way to get a return value which is id of my inserted row
since I need that id for another insert action. I think I should use a
function for this but I am not sure how I can get Id of my inserted row.
Thanks.
M. Emre Çolak


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

Предыдущее
От: Pandu Poluan
Дата:
Сообщение: Re: SELECT from two tables with different field names?
Следующее
От: Aleksej Trofimov
Дата:
Сообщение: Postgresql array parser