Skip to content

Instantly share code, notes, and snippets.

@flash-gordon
Created November 18, 2013 16:22
Show Gist options
  • Save flash-gordon/7530706 to your computer and use it in GitHub Desktop.
Save flash-gordon/7530706 to your computer and use it in GitHub Desktop.
declare
cursor c_t is
select *
from dual;
procedure remember_about_cursor
as
begin
if c_t%isopen then
close c_t;
end if;
end;
begin
null;
remember_about_cursor;
exception when others then
remember_about_cursor;
main.re_raise;
end;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment