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: Subquery not allowed here

Re: Subquery not allowed here

From: DA Morgan <damorgan_at_psoug.org>
Date: Mon, 29 Aug 2005 23:25:08 -0700
Message-ID: <1125383060.755738@yasure>


mike wrote:
> Sometime there is not a supplier_id!!
>
> If I default it to 0, then I'll have to put a dummy 0 in tablea.
>
> Mike

No you don't. A foreign key can be null in the table on which the constraint (TableB in your case) is built.

-- 
Daniel A. Morgan
http://www.psoug.org
damorgan_at_x.washington.edu
(replace x with u to respond)
Received on Tue Aug 30 2005 - 01:25:08 CDT

Original text of this message

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