I've added the parameter of value 0 (zero) in the following lineĀ
cursor_handle INTEGER := dbms_sql.open_cursor(0);
to get around the ORA-29471 error (ORA-29471: DBMS_SQL access denied) further on in the procedure.
Now I get ORA-29474 error (ORA-29474: DBMS_SQL.OPEN_CURSOR failed. security_level of 0 is not allowed) on that line.
The Oracle documentation plainly says that 0 is OK.
So what's missing/wrong?
(11.2.0.4.0 enterprise)