Re: Integrating the field auto-increment

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Integrating the field auto-increment
Дата
Msg-id 1059731311.2140.154.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Integrating the field auto-increment  (thomas.mathes@tmnd.de)
Список pgsql-general
create table foo ( id serial )

Dave
On Fri, 2003-07-25 at 11:07, thomas.mathes@tmnd.de wrote:
> Hello,
>
> How can I implement an integer field with the autoincrement option ?
> That means I want to have a field, where every row has different values
> (unique) but this values should be generated automatically.
> Every new row has a new value, which is 1 higher than the old one.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
>                http://www.postgresql.org/docs/faqs/FAQ.html
>
--
Dave Cramer <dave@fastcrypt.com>
fastcrypt


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

Предыдущее
От: "Chad Thompson"
Дата:
Сообщение: Re: [SQL] ALTER TABLE ... DROP CONSTRAINT
Следующее
От: Francisco J Reyes
Дата:
Сообщение: Re: comparing database schema's