in reply to Deleting a branch from a tree structure
I think you'd be better off using PL/SQL or Oracle's "CONNECT BY" extensions. There's a tutorial here.
In Section
Seekers of Perl Wisdom
in reply to Deleting a branch from a tree structure