| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> comp.databases.theory -> Conditional Relationships ?
I'm curious as to how one would go about setting up
and enforcing a Conditional Relationship.
An example would be :
Orders Table
Order_Items table
Invoices Table
Invoices_Intersect Table
The Invoices_Intersect has Foreign Keys for
Invoices
Orders
Order_Items
The relationship needs to be enforced so that the Invoice relates to EITHER the Order ( as a Whole ) 1 -2- 1 OR the Order_Items ( Order part Shipped ) n -2- 1 BUT NOT both.
TIA
--
Henry Craven
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.431 / Virus Database: 242 - Release Date: 17-Dec-2002
Received on Sat Dec 28 2002 - 15:51:10 CST
![]() |
![]() |