Re: how to set more than two attributes as primary keys in a table

From: Casey Allen Shobe <cshobe(at)softhome(dot)net>
To: Peggy Go <shatz_go(at)yahoo(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: how to set more than two attributes as primary keys in a table
Date: 2003-12-29 17:09:01
Message-ID: 200312291209.01491.cshobe@softhome.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Bruno Wolff III (Monday 29 December 2003 12:14)
> Note that isn't quite the same unless you add NOT NULL constraints for
> foo and bar.

Oops! You're right, and the ID column needs a 'not null' as well. I just
typed that in a hurry and forgot. Sorry.

Vertu sæll,

--
Sigþór Björn Jarðarson (Casey Allen Shobe)
http://rivyn.livejournal.com

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Bruno Wolff III 2003-12-29 17:14:27 Re: how to set more than two attributes as primary keys in a table
Previous Message Casey Allen Shobe 2003-12-29 15:35:54 Re: how to set more than two attributes as primary keys in a table