getting currval from a sequence

Поиск
Список
Период
Сортировка
От tony
Тема getting currval from a sequence
Дата
Msg-id 1013424151.2089.24.camel@vaio
обсуждение исходный текст
Ответы Re: getting currval from a sequence
Список pgsql-general
Hello,

I would like to be able to get currval from a sequence but am running
ito the "current session" limitation.

I need to get the id of the previous record either during a session or
on a cold start (next morning for example).

How does one get the last record from a series of records? I just need
the id field which is a sequence field

Cheers

Tony Grant

--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


В списке pgsql-general по дате отправления:

Предыдущее
От: "Carlo Florendo"
Дата:
Сообщение: pg_hba.conf problem?
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Function to Pivot data