Thanks Tony,
I have tried:
db=> create table test2(x serial start 5000,y varchar);
But it gives:
ERROR: parser: parse error at or near "start"
Tielman J de Villiers
BondNet Pty Ltd
-----Original Message-----
From: tony [mailto:tony@animaproductions.com]
Sent: Thursday, November 15, 2001 4:41 PM
To: Tielman J de Villiers
Cc: 'pgsql-general@postgresql.org'
Subject: Re: [GENERAL] Serial data type not starting at 1
On Thu, 2001-11-15 at 14:50, Tielman J de Villiers wrote:
> Hi,
>
> I hope someone can help me.
>
> I want to create a new table using the "automatic" sequence function
> of Postgres by creating the first column as type "serial". But I want
> to start at say "5000". Can it be done, and how?
Like in the docs...
START 5000
Cheers
Tony Grant
--
RedHat Linux on Sony Vaio C1XD/S http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html