DBMS_SQL 11g Security Error: ORA-29474

(Doc ID 1298367.1)

Last updated on AUGUST 28, 2017

Applies to:

PL/SQL - Version 11.2.0.2 and later
Information in this document applies to any platform.
*** Checked for relevance on 24-08-2017 ***

Symptoms

 

declare
  cur NUMBER;
begin
  cur := dbms_sql.open_cursor(0);
end;
/

The result is:
ORA-29474:DBMS_SQL.OPEN_CURSOR failed. Security_level of 0 is not allowed.
ORA-06512: at "SYS.DBMS_SQL:, line 1170
ORA-06512: at line 4

Changes

Upgrade to 11g

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms