INSERT RETURNING

Started by Cesar Alvarezover 18 years ago2 messagesgeneral
Jump to latest
#1Cesar Alvarez
c.alvarezx66@gmail.com

Hello
im working in a proyect in ORACLE 10g and one of the things i like is
using the INSERT RETURNING with the parameters, im not sure that i read
about postgres 8.2 suporting this feature... if its true where can i
read more about it.
regards Cesar Alvarez.

#2CaT
cat@zip.com.au
In reply to: Cesar Alvarez (#1)
Re: INSERT RETURNING

On Sun, Oct 14, 2007 at 12:01:45AM -0600, Cesar Alvarez wrote:

Hello
im working in a proyect in ORACLE 10g and one of the things i like is
using the INSERT RETURNING with the parameters, im not sure that i read
about postgres 8.2 suporting this feature... if its true where can i
read more about it.

On http://www.postgresql.org/docs/8.2/interactive/index.html section VI
has a reference section on sql commands. RETURNING is available on
UPDATE, DELETE and INSERT I believe.

--
"To the extent that we overreact, we proffer the terrorists the
greatest tribute."
- High Court Judge Michael Kirby