Re: How to get back the current count of a auto incrementing number.

Поиск
Список
Период
Сортировка
От Sean Davis
Тема Re: How to get back the current count of a auto incrementing number.
Дата
Msg-id F831E2CB-7123-11D9-B36B-000D933565E8@mail.nih.gov
обсуждение исходный текст
Ответ на How to get back the current count of a auto incrementing number.  (sid tow <siddy_tow@yahoo.com>)
Список pgsql-general
On Jan 28, 2005, at 6:36 AM, sid tow wrote:

> hi
>
>      How to get the current value of a auto
> incrementing number generated using CREATE SEQUENCE
> seqname START 1
>
> Is there any way and if yes what is it. Can we run a
> select query and may be a inbuilt function which will
> return the current value of that number?

Look at:

http://www.postgresql.org/docs/8.0/interactive/functions-sequence.html

Sean


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

Предыдущее
От: Shridhar Daithankar
Дата:
Сообщение: Re: How to get back the current count of a auto incrementing number.
Следующее
От: Mike Rylander
Дата:
Сообщение: Re: Splitting queries across servers