Re: Primary Keys

Поиск
Список
Период
Сортировка
От Einar Karttunen
Тема Re: Primary Keys
Дата
Msg-id Pine.LNX.4.30.0105071159220.873-100000@kissaholmen.cs.Helsinki.FI
обсуждение исходный текст
Ответ на Primary Keys  ("Brian Z" <brian0@verizon.net>)
Список pgsql-general
On Mon, 30 Apr 2001, Brian Z wrote:
> How can you create a Primary Key which contains multiple columns on for a
> table.
>
CREATE TABLE foo (
    col1    integer,
    col2    text,
    col3    timestamp,
    PRIMARY KEY (col1,col2)
);

Creates the primary key on columns col1 and col2. Please see the
documentation for CREATE TABLE for further information.

- Einar Karttunen


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

Предыдущее
От: Dariusz Pietrzak
Дата:
Сообщение: Re: Permissions and views.
Следующее
От: per@nospam.mimer.se (Per Schröder)
Дата:
Сообщение: Re: Thread or not threads?