Stored Procedure- I need to write a stored procedure to fetch and update multiple DB rows at one shot based on a certain value and it should happen recursively.
For Example- i will have 2 values as my where inputs:
and this will be the outcome of that inputs:
Level 1 - there is a date value in this which has been modified, now when this is modified a loop will start:
level 1 - updated from UI
level 1- level 1.1, level 1.2
level 1.1 - level 1.1.1, levele 1.1.3,
level 1.2 - level 1.2.1, level 1.2.3, level 1.2.3
This will continue till all the values in this tree are updated.