How do I stop execution inside a stored procedure immediately after a certain line, just like EXIT does in a loop?
What I need is:
-------------------
procedure my_procedure()
is
begin
...
IF my_cursor%NOTFOUND THEN
-- exit;
end if;
...
end;
----------------------
Thanks.
What I need is:
-------------------
procedure my_procedure()
is
begin
...
IF my_cursor%NOTFOUND THEN
-- exit;
end if;
...
end;
----------------------
Thanks.