Get the last inserted id

Поиск
Список
Период
Сортировка
Искать
От
Nacef LABIDI
Тема
Get the last inserted id
Дата
Msg-id
f16f7ea00804111023xc2072ddk796b1e0336c14aac@mail.gmail.com
Список
Дерево обсуждения
Get the last inserted id "Nacef LABIDI" <nacef.l@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>
Re: Get the last inserted id "Scott Marlowe" <scott.marlowe@gmail.com>
Re: Get the last inserted id "Nacef LABIDI" <nacef.l@gmail.com>
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
Дата:
От: Scott Marlowe
Дата:
Сообщение: Re: Get the last inserted id
FAQ