Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: multiple foreign keys; can they operate in an OR relationship?

Re: multiple foreign keys; can they operate in an OR relationship?

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Thu, 30 Sep 2004 18:04:40 -0700
Message-ID: <1096592759.289822@yasure>


Jose wrote:

> Using the below script, i wanted to know if i could create multiple
> foreign keys on a single column in a child table that operate in an OR
> fashion.
>

There is on such thing as an OR condition in a foreign key. If you want an OR condition you will need to use a trigger.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Thu Sep 30 2004 - 20:04:40 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US