Re: customising serial type

Поиск
Список
Период
Сортировка
От Krasimir Dimitrov
Тема Re: customising serial type
Дата
Msg-id 200506211307.57723.kr@aiidatapro.com
обсуждение исходный текст
Ответ на customising serial type  (Kenneth Gonsalves <lawgon@thenilgiris.com>)
Список pgsql-sql
On Tuesday 21 June 2005 13:01, you wrote:
> hi,
> in a table with a serial datatype, how do i get the sequence to start 
> at a specific number like 100000?

ALTER SEQUENCE sequence_name RESTART WITH 100000;

-- 
________________________________________________________
Krasimir Dimitrov
IT Department
AII Data Processing Ltd.,
16 Ivan Vazov Str,
Sofia 1000,
Bulgaria
Phone: +359 2 9376 352
E-mail: kr@aiidatapro.com
http://www.see-news.com


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

Предыдущее
От: Kenneth Gonsalves
Дата:
Сообщение: customising serial type
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: customising serial type