Re: KEY or INDEX

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: KEY or INDEX
Дата
Msg-id 20050503202908.GA8338@wolff.to
обсуждение исходный текст
Ответ на KEY or INDEX  (tövis <tovises@freemail.hu>)
Список pgsql-novice
On Tue, May 03, 2005 at 11:57:31 +0200,
  tövis <tovises@freemail.hu> wrote:
> Hi All
> Seem to be that I can not create KEY exclude PRIMARY and FOREIGN.
> This means for one table I can create only one key.
> All other, frequently used operations (browse, search) should use INDEX-es (may be unique).
> Is these statemens are correct?

The FOREIGN KEY clause doesn't create keys.

You can use UNIQUE and NOT NULL clauses to create candidate keys.

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

Предыдущее
От:
Дата:
Сообщение: Re: Foreign Key Problem
Следующее
От: "Celia McInnis"
Дата:
Сообщение: retrieving a previously defined stored procedure from the database?