Just another Perl shrine | |
PerlMonks |
Re: sql adjacency listby dimar (Curate) |
on Feb 19, 2005 at 14:09 UTC ( [id://432714]=note: print w/replies, xml ) | Need Help?? |
boulevard, Since I specifically remember talking to you earlier about this scenario, here are some additional links that I think you will find useful. 4Ways(10/10) StoringHierarchy(10/10) TreeAlternatives(10/10) Biology(6/10)NOTE: The numbers after the links are my own 'relevance ratings' based on the similarity of the content to your current project and background (i.e., you already have something that "works", and now you just want alternatives)(i.e., you are looking for reader-friendly overview materials on this subject). If this is a fair characterization of your situation, then these are definitely for you. NOTE: The links provided here could also be found further down in the articles and nodes in dbwiz's excellent answer. NOTE: If you are already using Oracle (which I just blankly assumed you weren't) then these links are probably not as useful, but still good reading in case you're interested. Try the Oracle-specific approach mentioned elsewhere in this thread. HTH keywords: adjacency list; lookup table; graph; tree; hierarchical data; relational modeling; structure; org chart; data modeling; DAG; GRAPH; node; edge; algorithms; recursive; cyclic; Oracle; oracle connect by; oracle prior; cfRDBTree;update: Aristotle's answer also matches what you were looking for, he's faster with the "create article" button than scooterm :)
In Section
Seekers of Perl Wisdom
|
|