Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: multiple foreign keys; can they operate in an OR relationship?
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
![]() |
![]() |