Re: get the inserted row id - Mailing list pgsql-novice

From A. Kretschmer
Subject Re: get the inserted row id
Date
Msg-id 20060220100238.GF9638@webserv.wug-glas.de
Whole thread Raw
In response to get the inserted row id  ("Zouari Fourat" <fourat@gmail.com>)
List pgsql-novice
am  20.02.2006, um 10:42:06 +0100 mailte Zouari Fourat folgendes:
> Hello all,
> How can i get the last inserted row id (like in mysql : LAST INSERT ID)

With currval().

Read our docu:
http://www.postgresql.org/docs/8.1/interactive/functions-sequence.html


Andreas
--
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47215,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    ===

pgsql-novice by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: get the inserted row id
Next
From: Oleg
Date:
Subject: Re: [postgis-users] PostGIS Geometry column