| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Do I need a PK on a join table?
Knut Stolze wrote:
> Bob Badour wrote:
>>Knut Stolze wrote: >> >>In DB2, a primary key mixes two logical constraints (candidate key, >>uniqueness) with a physical structure (index).
In other words, not really but, yes, exactly.
>>In DB2, uniqueness and candidate key are two logical constraints instead >>of one due to the abominable NULL.
Uniqueness is a logical constraint. Why one earth would you assume I refer to a physical structure??? I thought you said you understood basic knowledge.
>>>>If you have a strong argument for wanting no index, declare a uniqueness >>>>constraint. >>> >>>Which will be enforced by a unique index... >> >>In that case, DB2 forces one to have an index when one has a strong >>argument for not wanting it. That seems rather stupid to me.
By definition, strong enough to make forcing an index simply wrong. Would it help if I typed slower? Received on Wed Feb 15 2006 - 09:06:58 CST
![]() |
![]() |