Need help with Bridge Table Design for: 1) Ragged-Hierarchy 2) Parent Nodes can be used more than once.
2 posters
Page 1 of 1
Need help with Bridge Table Design for: 1) Ragged-Hierarchy 2) Parent Nodes can be used more than once.
Hi,
I need some advice designing a dimensional model with a bridge table to cater for a hierarchy:
1) Ragged - Hierarchy (depth unknown):
2) Parent Nodes - as well as Leaf Nodes could be repeated at different levels:
I need some advice designing a dimensional model with a bridge table to cater for a hierarchy:
1) Ragged - Hierarchy (depth unknown):
2) Parent Nodes - as well as Leaf Nodes could be repeated at different levels:
ian.coetzer- Posts : 57
Join date : 2010-05-31
Age : 44
Location : South Africa
Re: Need help with Bridge Table Design for: 1) Ragged-Hierarchy 2) Parent Nodes can be used more than once.
Having children with multiple parents is not a difficult issue, a bill of materials hierarchy is like that. But having a parent with different children isn't allowed.
In your example, (3)C is two different things: one has children 8,5 and the other 5,6. They need to be treated as different parents with their own identity (key). If the hierarchy key is a discriminator, it needs to be part of the keys shown in example 2.
In your example, (3)C is two different things: one has children 8,5 and the other 5,6. They need to be treated as different parents with their own identity (key). If the hierarchy key is a discriminator, it needs to be part of the keys shown in example 2.
Similar topics
» Ragged Hierarchy with Bridge table
» [Solved] Ragged Hierarchy, Bridge Table and SCD2
» Ragged Product Category Hierarchy and Bridge table
» Help with ragged multiple hierarchy design
» Populating the Ragged ORG Bridge table
» [Solved] Ragged Hierarchy, Bridge Table and SCD2
» Ragged Product Category Hierarchy and Bridge table
» Help with ragged multiple hierarchy design
» Populating the Ragged ORG Bridge table
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum