Re: Do I need a PK on a join table?
From: Knut Stolze <stolze_at_de.ibm.com>
Date: Wed, 15 Feb 2006 08:21:13 +0100
Message-ID: <dsukp9$bbs$1_at_lc03.rz.uni-jena.de>
Date: Wed, 15 Feb 2006 08:21:13 +0100
Message-ID: <dsukp9$bbs$1_at_lc03.rz.uni-jena.de>
> SQL and DB2 confound the issue by mixing physical structures (indexes)
> with purely logical integrity constraints (uniqueness/keys), by allowing
> the abominable NULL,
I don't know where there is anything "mixed" and how NULL would fit into this statement. Could you possibly explain how you mean that?
> and possibly by limiting the declarable foreign key
> constraints to reference a single primary key per table.
> If you have a strong argument for wanting no index, declare a uniqueness
> constraint.
Which will be enforced by a unique index...
-- Knut Stolze DB2 Information Integration Development IBM GermanyReceived on Wed Feb 15 2006 - 08:21:13 CET