Oliveiros Cristina wrote:
> I have the need to know the primary key assigned to a record I've just
> INSERTed .
> Is there an easy way to solve this ?
INSERT INTO [...] RETURNING id;
In response to
pgsql-novice by date
|Next:||From: David Monarchi||Date: 2007-11-09 00:13:28|
|Subject: Constructing two-dimensional arrays from a query|
|Previous:||From: Sean Davis||Date: 2007-11-08 18:01:48|
|Subject: Re: Obtaining the primary key of the record just inserted|