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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Design question.

RE: Design question.

From: Mercadante, Thomas F <NDATFM_at_labor.state.ny.us>
Date: Fri, 31 May 2002 08:06:32 -0800
Message-ID: <F001.00470EB7.20020531080632@fatcity.com>


Chris,

The column in the parent table needs to be the PK or be unique. Should be no problem.

Tom Mercadante
Oracle Certified Professional

-----Original Message-----
Sent: Friday, May 31, 2002 11:33 AM
To: Multiple recipients of list ORACLE-L

We have a designer that is adding a FK on two columns from one table to another. These two columns are not in the parent table's primary key.

So we are kind of scratching our heads wondering if you can, from a proper design point of view, create such a FK? It appears that if you update one of the two columns in the child table then you would need to create a new record in the parent table.

Thoughts??
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Grabowy, Chris
  INET: cgrabowy_at_fcg.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Mercadante, Thomas F
  INET: NDATFM_at_labor.state.ny.us
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Fri May 31 2002 - 11:06:32 CDT

Original text of this message

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