Re: new serial type

Поиск
Список
Период
Сортировка
От Kaare Rasmussen
Тема Re: new serial type
Дата
Msg-id 01011312373400.24341@bering
обсуждение исходный текст
Ответ на new serial type  (Rolf Johansson <rojo@nocrew.org>)
Список pgsql-sql
Den l�rdag 13. januar 2001 11:42 skrev Rolf Johansson:
> Is there some function to change the serial type to, instead of reading
> a next-value, read the maxium value in a column and then add x? If, for

You can use setval(sequence, number) and MAX(number) in combination.

-- 
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               �ben 14.00-18.00        Email: kar@webline.dk
2000 Frederiksberg        L�rdag 11.00-17.00       Web:      www.suse.dk


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

Предыдущее
От: Rolf Johansson
Дата:
Сообщение: new serial type
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: pl/pgsql Limits