Re: customising serial type - Mailing list pgsql-sql

From Krasimir Dimitrov
Subject Re: customising serial type
Date
Msg-id 200506211307.57723.kr@aiidatapro.com
Whole thread Raw
In response to customising serial type  (Kenneth Gonsalves <lawgon@thenilgiris.com>)
List 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 by date:

Previous
From: Kenneth Gonsalves
Date:
Subject: customising serial type
Next
From: Michael Glaesemann
Date:
Subject: Re: customising serial type