Re: Newbie Question

Поиск
Список
Период
Сортировка
От Joel Burton
Тема Re: Newbie Question
Дата
Msg-id Pine.LNX.4.21.0105041716430.3424-100000@olympus.scw.org
обсуждение исходный текст
Ответ на Newbie Question  ("Clay & Judi Kinney" <cricketk@home.com>)
Список pgsql-general
On Tue, 1 May 2001, Clay & Judi Kinney wrote:

> How do I create an autoincrement field in a postgresql table???
>
> What are the correct field type and parameters????
>
> Any help would be appreciated.....

CREATE TABLE foo (
  id SERIAL,
  ...
)

it comes out as an int4 or integer type.

--
Joel Burton   <jburton@scw.org>
Director of Information Systems, Support Center of Washington


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