|
You are opening your cursor (l_cursor) outside of the loop, and you are
closing it inside the loop.
So, on the second iteration your l_cursor is
invalid.
Move closing cursor statement outside the loop:
end loop;
dbms_sql.close_cursor( l_cursor );
end;
/
|
Title: Ora-1001
- Ora-1001 Hatzistavrou John
- RE: Ora-1001 Igor Neyman
- RE: Ora-1001 Hatzistavrou John
- RE: Ora-1001 Farnsworth, Dave
