Serial data type not starting at 1

Поиск
Список
Период
Сортировка
От Tielman J de Villiers
Тема Serial data type not starting at 1
Дата
Msg-id E1F206EC93DCD4119A05009027A4135906499E@sbssvr.bondnet.co.za
обсуждение исходный текст
Ответы Re: Serial data type not starting at 1  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Re: Serial data type not starting at 1  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Serial data type not starting at 1  (tony <tony@animaproductions.com>)
Re: Serial data type not starting at 1  ("Andrew G. Hammond" <drew@xyzzy.dhs.org>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: David Ford
Дата:
Сообщение: UPDATE w/ subselect doing locking
Следующее
От: cbbrowne@acm.org
Дата:
Сообщение: Re: Sourceforge on Oracle? (WAY OT)