一、查看循环中打开的游标有一个相应的关闭;
二、如果没有inserting/updating/deleting,不需要commit语句;
三、每个fetch后都应该有一个Exit when name_of_cursor%notfound语句;
四、循环中需要紧接着CLOSE子句;
参考》http://blog.csdn.net/xyj0808xyj/article/details/52139937
以上就是oracle_cursor的ORA-06511: PL/SQL: cursor already open的详细内容,更多关于oracle_cursor的ORA-06511: PL/SQL: cursor already open的资料请关注九品源码其它相关文章!