Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: One to One Relationship
Nuno Souto wrote:
> Frank <fvanbortel_at_netscape.net> wrote in message news:<3E78C0BC.4000109_at_netscape.net>...
>
>> >>That would be 2 instantiations of the attribute engine.
In that case, you would not model engine as an attribute,
but as an entity.
Your original (now snipped) post mentioned attributes (plural) engines.
Engine now being an entity, 'side'(allowable values 'inner left', 'outer
left','inner right', 'outer right' or something similar) would be the
attribute to distingish between the enigines (instantiations of...).
A B52 would fit in that, of course... Engine number might be better,
iirc that's what the Airforce folk use themselves.
And yes, you could subtype as well. Using seperate tables (exclusive or triggers needed), or discriminator columns (and views, using the distinct values of the discriminator column), or...
-- Regards, Frank van BortelReceived on Thu Mar 20 2003 - 14:21:32 CST