| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Re: Relation problem
Michel wrote:
> Designing this large database where we store adresses as their own
> entity. i.e. an address exist by itself. We also have individuals AND
> organizations that can have have more than 1 address. So far so
> good, created a link table were I wanted to use the primary key as
> individualID and AddressID.
>
> This would be great, but it's got to be an individual OR an
> organization, so I cant have referencial integrity enforced at the
> database level.
Why not simply split the table Addresses in OrganizationAddresses and IndividualAddresses? You can always define a view that takes the union of these two tables if you need it.
-- Jan HiddersReceived on Thu Jan 18 2001 - 03:06:06 CST
![]() |
![]() |