我正在
java.sql.SQLException:ORA-01000:超出最大打开游标"
错误。我想知道我的Db中没有打开的游标。我没有DBA访问权限。我编写了以下过程来从DB中删除千位/ lac记录:
"create or replace //creating procedure
PROCEDURE SUBSREMOVAL AS
BEGIN
DBMS_OUTPUT.PUT_LINE('----DELETING ROW FROM table1 TABLE START------' );
DELETE from table1 c where c.X in (select t.Y from table2 t);//delete query
DBMS_OUTPUT.PUT_LINE('----DELETING ROW FROM table1 TABLE END------' );
COMMIT;
END SUBSREMOVAL" //ending procedure