Re: Serial data type not starting at 1

From: tony <tony(at)animaproductions(dot)com>
To: Tielman J de Villiers <tjdevil(at)bondnet(dot)co(dot)za>
Cc: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Serial data type not starting at 1
Date: 2001-11-15 14:40:37
Message-ID: 1005835237.3352.1.camel@vaio
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Martijn van Oosterhout 2001-11-15 14:41:18 Re: Serial data type not starting at 1
Previous Message Tielman J de Villiers 2001-11-15 14:38:36 Re: Serial data type not starting at 1