Re: automatic numbering in a new column

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: automatic numbering in a new column
Дата
Msg-id 1314211384.2193.35.camel@localhost.localdomain
обсуждение исходный текст
Ответ на automatic numbering in a new column  (ppdcc@sapo.pt)
Список pgadmin-support
On Wed, 2011-08-24 at 19:40 +0100, ppdcc@sapo.pt wrote:
[...]
> 
> I'm have a database with two tables, one of them is the streets. Can  
> anybody tell me how do i create, with a sql instruction, a new column  
> with automatic numbering in this table?

Use the serial pseudo type for this column.

-- 
Guillaume http://blog.guillaume.lelarge.info http://www.dalibo.com



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

Предыдущее
От: ppdcc@sapo.pt
Дата:
Сообщение: automatic numbering in a new column
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: automatic numbering in a new column