Re: Primary Key: How Do I Generate One For Insert ...

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: Primary Key: How Do I Generate One For Insert ...
Дата
Msg-id 20020806114542.A85827-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на Primary Key: How Do I Generate One For Insert ...  (Jim <REMOVEjimdon@sympatico.caREMOVE>)
Список pgsql-general
On Sun, 4 Aug 2002, Jim wrote:

> Hello,
>
> How do I generate a primary key (that is an INTEGER) to insert data into
> a table. Or do I need to know whats used?

If you want an autogenerated one (ie, you don't have values you want to
insert specifically), you probably want to look at serial and sequences.



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Cannot use more than 16 attributes in an index
Следующее
От: "scott.marlowe"
Дата:
Сообщение: Re: Cannot use more than 16 attributes in an index