how to return the last inserted identity column value - Mailing list pgsql-general

From
Subject how to return the last inserted identity column value
Date
Msg-id 20120308111624.c760ddbd7c0975bc4b045766db7d895c.6315342a31.wbe@email16.secureserver.net
Whole thread Raw
Responses Re: how to return the last inserted identity column value  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
In some languges you can use set l_localid = @@identity which returns
the value of the identity column defined in the table.  How can I do
this in Postgres 9.1

Michael Gould
Intermodal Software Solutions, LLC
904-226-0978


pgsql-general by date:

Previous
From:
Date:
Subject: why no create variable
Next
From: Scott Marlowe
Date:
Subject: Re: how to return the last inserted identity column value