|
| ← Unintentionally ironic quote of the day | Concepts, Techniques, and Models of Computer Programming → |

Jay Fienberg (http://icite.net/blog/) wrote:
Keith (http://www.keithdevens.com/) wrote:
Thanks Jay. I actually have Celko's Smarties book, so I should have already been aware of this technique.
I'll have to look at those chapters when I get a moment of free time.
dev@ wrote:
If you still interesting in this have a look at
http://www.codeproject.com/cs/database/Trees_in_SQL_databases.asp
Feel free to post a comment below. Please see my comment policy.
Formatting Rules (No HTML):
Generated in about 1.541s.
(Used 8 db queries)

There is a really excellent booklet with some unique info, called "Tree Processing in SQL", by Rozenshtein, Abramovich, and Alexandrova. It is available through http://sqlforum.com/.
This booklet has some unique techniques for optimized processing of tress in SQL, using the parent/child storage arrangement.
Clecko's info on trees and graphs (which are also covered in two chapters in his SQL for Smarties book) is great for understanding different storage arrangements, each of which has its own advantages for different uses.