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
Post a Comment