Re: get the inserted row id

Поиск
Список
Период
Сортировка
От A. Kretschmer
Тема Re: get the inserted row id
Дата
Msg-id 20060220100238.GF9638@webserv.wug-glas.de
обсуждение исходный текст
Ответ на get the inserted row id  ("Zouari Fourat" <fourat@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: get the inserted row id
Следующее
От: Oleg
Дата:
Сообщение: Re: [postgis-users] PostGIS Geometry column