RE: Unique or Primary Key?

From: "Christian Marschalek" <cm(at)chello(dot)at>
To: "'Bruce Richardson'" <pgsql(at)itsbruce(dot)uklinux(dot)net>
Cc: "[GENERAL] PostgreSQL" <pgsql-general(at)postgresql(dot)org>
Subject: RE: Unique or Primary Key?
Date: 2001-05-03 18:26:28
Message-ID: 000001c0d3fe$91b6bcc0$0200a8c0@server
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> Besides, I couldn't see much use in creating it as a primary
> key. How
> would I ever reference it from another table?

What does this have to do with beeing a primary key?
Well you reference to primary keys as you do with others?!?

When you have for example user ids you shouldn't have a customer without
a number.. So a primary key would be a good idea, wouldn't it?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2001-05-03 18:29:15 Re: ODBC 3.0 functions (UCASE, LCASE, etc.)
Previous Message Terry Fielder 2001-05-03 18:11:20 Autonumber