declare
cursor c1 is select * from employee;
e employee%rowtype;
begin
close c1;
exception
when invalid_cursor then
dbms_output.put_line('invalid cursor');
end;
/
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter