insert and returning

Поиск
Список
Период
Сортировка
Искать

insert and returning

От:
"Doron Baranes" <doron.baranes@dbnet.co.il>
Дата:

Hi,

can someone help me with an example of how to use the returning clause of an insert
to return a column value from the row inserted?

10x
Doron

Re: insert and returning

От:
"Milen A. Radev" <milen@radev.net>
Дата:
Doron Baranes написа:
> Hi,
> 
> can someone help me with an example of how to use the returning clause of an insert
> to return a column value from the row inserted?
> 

Look at the bottom of this page -
http://developer.postgresql.org/pgdocs/postgres/sql-insert.html

OTOH this functionality is available only in v8.2 (as you could guess
from the URL), but that version should be released tomorrow.


-- 
Milen A. Radev
FAQ