Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Implementing complicated constraints
Mark C. Stock wrote:
> however, since the ATXT can apply to only one AID, and ATXT can only
exist
> in the context of AID, id' remove TID from table A and change table T
to:
>
> T(TID, CID ref C.CID, ATXT, C.AID) with unique constraint on CID,
ATXT and
> NN an UK on AID
That still leaves unresolved the rule that T.CID should match B.CID for the same AID value.
It is also not normalised, since T.CID is transitively dependent on T.AID. Received on Thu Sep 30 2004 - 07:16:43 CDT