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

Поиск
Список
Период
Сортировка
От Shridhar Daithankar
Тема Re: How to get back the current count of a auto incrementing number.
Дата
Msg-id 200501281728.33827.ghodechhap@ghodechhap.net
обсуждение исходный текст
Ответ на How to get back the current count of a auto incrementing number.  (sid tow <siddy_tow@yahoo.com>)
Список pgsql-general
On Friday 28 Jan 2005 5:06 pm, 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?

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

HTH

 Shridhar

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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: How to get back the current count of a auto
Следующее
От: Sean Davis
Дата:
Сообщение: Re: How to get back the current count of a auto incrementing number.