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: Hierarchical table design, child has multiple parent

RE: Hierarchical table design, child has multiple parent

From: Powell, Mark D <mark.powell_at_eds.com>
Date: Mon, 10 Jan 2005 12:53:34 -0500
Message-ID: <5A14AF34CFF8AD44A44891F7C9FF410511E717@usahm236.amer.corp.eds.com>


What you want is a Bill of Material (BOM) structure. The product is the parent and the parts (ingredients) are the children. The "where used" function allows finding all parents for a child normally.

There are BOM type examples available via the web.

HTH -- Mark D Powell CPIM, CIRM --

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of sanjay.khangarot_at_wipro.com
Sent: Monday, January 10, 2005 12:25 PM
To: oracle-l_at_freelists.org
Subject: Hierarchical table design, child has multiple parent

Hello All,
I wanted to create a schema in which Parent child relationship needs to be maintained where a child can have multiple parents. Like addition of ingredients to create a final product, where the ingredients are the parents and resultant product is the child.
How should I go to store this kind of data? My requirment also includes to explode this structure and should be able to reach up to the top most parent in the heirarchy?
If anyone has any reference, from where I can pick this information please advise.

Thanks in advance.

Regards

sanjay

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Jan 10 2005 - 11:55:51 CST

Original text of this message

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