Re: RETURNING in stored procedure

From: "Leif B(dot) Kristensen" <leif(at)solumslekt(dot)org>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: RETURNING in stored procedure
Date: 2009-05-22 09:16:22
Message-ID: 200905221116.22549.leif@solumslekt.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Friday 22. May 2009, Mehrotra, Abhinav (GE Healthcare) wrote:
>Val:= insert into temp("hello") RETURNING seq;

You may try:

INSERT INTO temp("hello") RETURNING seq INTO val;
--
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Mehrotra, Abhinav (GE Healthcare) 2009-05-22 10:36:17 FW: RETURNING in stored procedure
Previous Message Mehrotra, Abhinav (GE Healthcare) 2009-05-22 09:06:24 RETURNING in stored procedure