Perform recursive call in oracle stored procedure -


i have following oracle stored procedure.

    procedure update_stuff (         in_id    in number,         in_date  in date     )         begin         if (in_date - prev_date) > 1             update_stuff(in_id, in_date - 1);         end if;          -- stuff     end; 

the problem facing when (in_date - prev_date) > 1, not wait recursive call finish proceed --do stuff. recursive call correct? how make sure recursive call finish before proceed?

i using oracle sql developer, 11g.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -