hi guys...
I am a newbie to stored procs... My scenario is like this... I have a Parent P1, which has 2 children C1 and C2.
C1 inturn has 2 child nodes C1G1 and C1G2.. liek this the tree can go on...
If I delete P1, the children C1 and C2 including C1G1 nad C1G2 should also be deleted upto the root....
Can anybody tell me as to how I write the stored Procedure for this...
Thanking In advance... This is Urgent and I would appreciate earliest responses...
Saiza
I am a newbie to stored procs... My scenario is like this... I have a Parent P1, which has 2 children C1 and C2.
C1 inturn has 2 child nodes C1G1 and C1G2.. liek this the tree can go on...
If I delete P1, the children C1 and C2 including C1G1 nad C1G2 should also be deleted upto the root....
Can anybody tell me as to how I write the stored Procedure for this...
Thanking In advance... This is Urgent and I would appreciate earliest responses...
Saiza