Serial data type not starting at 1

From: Tielman J de Villiers <tjdevil(at)bondnet(dot)co(dot)za>
To: "'pgsql-general(at)postgresql(dot)org'" <pgsql-general(at)postgresql(dot)org>
Subject: Serial data type not starting at 1
Date: 2001-11-15 13:50:29
Message-ID: E1F206EC93DCD4119A05009027A4135906499E@sbssvr.bondnet.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

Thank you

Tielman J de Villiers
BondNet Pty Ltd

Responses

Browse pgsql-general by date

  From Date Subject
Next Message tony 2001-11-15 14:07:40 Re: Ultradev and PostgreSQL on SuSE
Previous Message frbn 2001-11-15 10:53:54 Re: GUI?