Ok...so we have this ASP.NET web form and application that utilizes hierarchical type to provide 3 tiers of information...1-3 visits...4-6 visits...7 or more visits.
My question is this...if we change our Visits to "Per Visit", the hierarchical tiers 2 and 3 are no longer in effect. In our ASP.NET web form, we make those tier panels invisible then and update the database accordingly to the highest level hierarchy for "Per Visit". Is there any way, any generic SQL, that could be used to sweep through a hierarchical structure and clean up where the hierarchy is now "corrupt" (I use that term loosely) and clean up the database accordingly deleting those hierarchical rows that are now orphaned???
Thanks for your review and am hopeful for a reply.
PSULionRP