how does setval() work???

Поиск
Список
Период
Сортировка
От chris Günther
Тема how does setval() work???
Дата
Msg-id 20010110170656.130bffac.guenther@uscreen.de
обсуждение исходный текст
Ответы Re: how does setval() work???
Список pgsql-novice
Hi there,

I have a couple of tables in my database, which are part-filled from the
beginning on. In subsequent live there are more datasets to come into
theses tables, but the first ones need to have specific keys in the
primary key column. I use a serial on this column and after creating the
database with the default values in the table I need to set my sequence
by hand using setval() I think. But I just can't figure out how this works.

Can anyone give me an example???

    chris

--

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

Предыдущее
От: Alfonso Peniche
Дата:
Сообщение: Re: converting .xls to delimited file
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: how does setval() work???