Obtaining the primary key of the record just inserted

Поиск
Список
Период
Сортировка
От Oliveiros Cristina
Тема Obtaining the primary key of the record just inserted
Дата
Msg-id 007d01c8222f$d25a26f0$ec5a3d0a@marktestcr.marktest.pt
обсуждение исходный текст
Ответы Re: Obtaining the primary key of the record just inserted  (Sean Davis <sdavis2@mail.nih.gov>)
Re: Obtaining the primary key of the record just inserted  (Hans-Peter Oeri <hp@oeri.ch>)
Список pgsql-novice
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-novice по дате отправления:

Предыдущее
От: "Nico Callewaert"
Дата:
Сообщение: Re: Trigger function syntax
Следующее
От: Sean Davis
Дата:
Сообщение: Re: Obtaining the primary key of the record just inserted