Get the last inserted id

Поиск
Список
Период
Сортировка
От Nacef LABIDI
Тема Get the last inserted id
Дата
Msg-id f16f7ea00804111023xc2072ddk796b1e0336c14aac@mail.gmail.com
обсуждение исходный текст
Ответы Re: Get the last inserted id  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Re: Get the last inserted id  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Re: Get the last inserted id  (Andrew Sullivan <ajs@crankycanuck.ca>)
Список pgsql-sql
Hi all,
 
I was wondering if postgres can return the last ID inserted for a table which the primary key is autoincremented. I need to retrieve this ID in my code to continue processing on that inserted row.
 
Thanks to all

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

Предыдущее
От: Erik Jones
Дата:
Сообщение: Re: Testing for null record in plpgsql
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Get the last inserted id