Re: Serial data type not starting at 1

Поиск
Список
Период
Сортировка
От tony
Тема Re: Serial data type not starting at 1
Дата
Msg-id 1005836026.23271.0.camel@tonux
обсуждение исходный текст
Ответ на Serial data type not starting at 1  (Tielman J de Villiers <tjdevil@bondnet.co.za>)
Список pgsql-general
On Thu, 2001-11-15 at 15:38, Tielman J de Villiers wrote:
> 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"

create sequence test_serial start 5000;
create table test2 (
x nextval('test_serial'),
y varchar;
);


Tony
--
RedHat Linux on Sony Vaio C1XD/S
http://www.animaproductions.com/linux2.html
Macromedia UltraDev with PostgreSQL
http://www.animaproductions.com/ultra.html


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

Предыдущее
От: Vivek Khera
Дата:
Сообщение: Re: Modifying check constraints
Следующее
От: tony
Дата:
Сообщение: Re: Serial data type not starting at 1