Search notes:

ORA-29471: DBMS_SQL access denied

declare
   cur  integer;
begin
   cur := dbms_sql.open_cursor;
  
   dbms_sql.close_cursor(cur);
   dbms_sql.close_cursor(cur);
end;
/
Cursor is not opened:
declare
   c    number;
   stmt varchar2(1000);
begin
   dbms_sql.parse(c, stmt, dbms_sql.native);
end;
/

See also

dbms_sql
Other Oracle error messages
MOS Note 760560.1
The following statement is supposed to turn of security features in dbms_sql:
alter system set "_dbms_sql_security_level" = 384 scope=spfile;

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758200703, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/errors/ORA-29471_DBMS_SQL-access-denied(63): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78