How to make the key in table increase automatically?

Поиск
Список
Период
Сортировка
От Mathias Göthberg
Тема How to make the key in table increase automatically?
Дата
Msg-id 000f01c00df8$92989ea0$912cc6c3@1an
обсуждение исходный текст
Ответы Re: How to make the key in table increase automatically?  ("Anthony E . Greene" <agreene@pobox.com>)
Список pgsql-novice
How to make the key in a table increase automatically with 1 every time a new row is added?

That is, when I add a new row with all attributes except the primary key, I want the primary key in that row to have a
uniquenumber that is 1 higher than the previous row. 

Mathias






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

Предыдущее
От: Assefa Yewondwossen
Дата:
Сообщение: Postgres on NT
Следующее
От: "Sherwin Daganato"
Дата:
Сообщение: serial data type limit