Re: how to get last inserted id

From: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
To: chris Günther <guenther(at)uscreen(dot)de>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: how to get last inserted id
Date: 2000-12-29 17:36:46
Message-ID: Pine.LNX.4.30.0012291236020.2912-100000@chapelperilous.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Fri, 29 Dec 2000, chris Günther wrote:

> How can I find out the last inserted ID of a field with a serial on it???

currval("sequencename");

-- Brett
http://www.chapelperilous.net/~bmccoy/
---------------------------------------------------------------------------
Cynic, n.:
Experienced.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Albert REINER 2000-12-29 18:08:50 Re: how to get last inserted id
Previous Message chris Gnther 2000-12-29 16:48:41 how to get last inserted id