Obtaining the primary key of the record just inserted

Поиск
Список
Период
Сортировка
От Oliveiros Cristina
Тема Obtaining the primary key of the record just inserted
Дата
Msg-id 009901c82230$a799d3b0$ec5a3d0a@marktestcr.marktest.pt
обсуждение исходный текст
Ответы Re: Obtaining the primary key of the record just inserted
Список pgsql-sql
 
Hello, All,
 
I have the need to know the primary key assigned to a record I've just INSERTed .
 
Is there an easy way to solve this ?
 
Similar to SQLServer's  SELECT scope_identity() ; ?
 
Any help deeply appreciated
 
Best,
Oliveiros

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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Partitioning and Foreign Keys
Следующее
От: "Scott Marlowe"
Дата:
Сообщение: Re: Obtaining the primary key of the record just inserted