Re: two primairy key in one table ?

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: two primairy key in one table ?
Дата
Msg-id 20020705100233.X27855-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на two primairy key in one table ?  (Angela Luyf <a.c.luyf@amc.uva.nl>)
Ответы Re: two primairy key in one table ?  (Curt Sampson <cjs@cynic.net>)
Список pgsql-general
On Thu, 4 Jul 2002, Angela Luyf wrote:

> Hello,
> I have a database model where a many to many relation is used, so i need
> to create a table with two primary key. Don't know how to solve this in
> postgress, can't find it in the tutorials, so can anybody help me with
> this ?

You can't have multiple primary keys in a table (per SQL spec) but are
you sure that's what you want as opposed to a single key made of two
columns?





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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: plpgsql: PERFORM SELECT id INTO TEMP TABLE ..
Следующее
От: Joe Conway
Дата:
Сообщение: Re: explicit cast error