From: Krasimir Dimitrov <kr@aiidatapro.com>
To: Kenneth Gonsalves <lawgon@thenilgiris.com>
Cc: PostgreSQL SQL <pgsql-sql@postgresql.org>
Subject: Re: customising serial type
Date: Tue, 21 Jun 2005 13:07:57 +0300
Message-ID: <200506211307.57723.kr@aiidatapro.com> (raw)
In-Reply-To: <200506211531.28871.lawgon@thenilgiris.com>
References: <200506211531.28871.lawgon@thenilgiris.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: kr@aiidatapro.com, lawgon@thenilgiris.com
Subject: Re: customising serial type
In-Reply-To: <200506211307.57723.kr@aiidatapro.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox