Current location - Loan Platform Complete Network - Big data management - ORA-00604: Error in recursive SQL level 1. ORA-0 1000: The maximum number of open cursors has been exceeded.
ORA-00604: Error in recursive SQL level 1. ORA-0 1000: The maximum number of open cursors has been exceeded.
As far as this code itself is concerned, there is no problem, just add pre.close () to finally.

The code is incomplete and there is no way to judge.

You can only use select * from v$open_cursor to see which cursors are currently open.

After the statement is created in the loop, it must be closed in time, otherwise the cursor will easily surpass it.