Re: Resetting sequence

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Resetting sequence
Дата
Msg-id 20050125230442.GA96518@winnie.fuhr.org
обсуждение исходный текст
Ответ на Resetting sequence  ("Keith Worthington" <keithw@narrowpathinc.com>)
Список pgsql-novice
On Tue, Jan 25, 2005 at 05:19:41PM -0500, Keith Worthington wrote:

> I would like to know if the sequence can be reset such that the next
> time a record is written into the table it will have a value of 1.

See ALTER SEQUENCE and the "Sequence Manipulation Functions" section
in the "Functions and Operators" chapter in the documentation.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

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

Предыдущее
От: "Keith Worthington"
Дата:
Сообщение: Resetting sequence
Следующее
От: Ramon Orticio
Дата:
Сообщение: printing reports for posgresql