Basic ANSI SQL inherent hierarchical processing using the Left Outer Join to model and processes hierarchical structures is basically quite obvious and empirical and I have covered this in my previous SQL/XML articles. The proof for multipath hierarchical query processing which requires Lowest Common Ancestor (LCA) processing occurring naturally in ANSI SQL is not that obvious because it is truly quite amazing since it was never designed into ANSI SQL and is quite complex to perform. Empirically it can be proven from its results, but it would be very nice to know how and why it is working so we can absolutely trust the results. I have written an article describing the how and why of natural LCA processing in ANSI SQL and have appropriately entitled it “The Ghost in the Machine”. It can be located below. Advanced Data Access Technologies, Inc. |