Thread: INSERT RETURNING

INSERT RETURNING

From
Cesar Alvarez
Date:
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.

Attachment

Re: INSERT RETURNING

From
CaT
Date:
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