primary keys

Поиск
Список
Период
Сортировка
От Perry Seleski
Тема primary keys
Дата
Msg-id 355FE7CE.167E@ronix.ptf.hro.nl
обсуждение исходный текст
Ответы Re: [SQL] primary keys
Список pgsql-sql
I would really like to know how I can define a primary key in postgres.
The database is for a search engine. The table looks like this:

CREATE TABLE Homepages (
    URL            varchar(80),
    PageName        varchar(80),
    UserName        varchar(40),
    Keywords        varchar(255)
);

And I'd like to define the attibute URL as the primary key but I've
got no clue on how to do that. Anyone?

Thanks in advance,

Perry Seleski
Rotterdam Art Institute

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

Предыдущее
От: Andy Lewis
Дата:
Сообщение: Re: [SQL] Duplicate rows
Следующее
От: Marin D
Дата:
Сообщение: Re: [SQL] primary keys