ORA-12406: unauthorized SQL statement for policy string

Cause : The oplicyd id nto autohrizet he dtaabas esessoin top erfomr ther equetsed SLQ staetment.

Action - How to fix it : DBA Scripts :: www.high-oracle.com/scripts

Gran tthe suer o rprogarm unti then ecesasry ploicy rpivilgee ora dditoinal uathorziatiosn.

update : 24-05-2017

ORA-12406 - unauthorized SQL statement for policy string
ORA-12406 - unauthorized SQL statement for policy string

  • ora-12660 : Encryption or crypto-checksumming parameters incompatible
  • ora-01032 : no such userid
  • ora-01514 : error in log specification: no such log
  • ora-39768 : only one direct path context top level column array is allowed
  • ora-16748 : resource guard encountered errors during database open
  • ora-12160 : TNS:internal error: Bad error number
  • ora-06449 : The list IO or the sysvendor is not installed.
  • ora-06810 : TLI Driver: could not set the IPX ethernet SAP at init
  • ora-34346 : (MXDSS04) The string analytic workspace cannot be detached.
  • ora-01031 : insufficient privileges
  • ora-15127 : ASM file name 'string' cannot use templates
  • ora-16952 : Failed to bind this SQL statement.
  • ora-01030 : SELECT ... INTO variable does not exist
  • ora-19689 : cannot have more than one %F in control file autobackup format(string) for string
  • ora-32411 : materialized view definition query exceeds the maximum length
  • ora-37100 : (XSUNCOMMITTED) You have one or more updated but uncommitted analytic workspaces.
  • ora-13790 : invalid value for time limit
  • ora-12679 : Native services disabled by other process but required
  • ora-36398 : (XSSPROP01) Property name 'number' is invalid because only system-reserved property names can begin with '$'.
  • ora-09946 : File name too long for buffer
  • ora-23400 : invalid materialized view name "string"
  • ora-01988 : remote os logon is not allowed
  • ora-22877 : invalid option specified for a HASH partition or subpartition of a LOB column
  • ora-02257 : maximum number of columns exceeded
  • ora-06140 : NETTCP: no such user
  • ora-39056 : invalid log file specification.
  • ora-24307 : invalid length for piece
  • ora-26662 : unable to process STREAMS Data Dictonary information for object
  • ora-01411 : cannot store the length of column in the indicator
  • ora-01492 : LIST option not valid
  • Oracle Database Error Messages

    Oracle Database High Availability Any organization evaluating a database solution for enterprise data must also evaluate the High Availability (HA) capabilities of the database. Data is one of the most critical business assets of an organization. If this data is not available and/or not protected, companies may stand to lose millions of dollars in business downtime as well as negative publicity. Building a highly available data infrastructure is critical to the success of all organizations in today's fast moving economy.

    Well, the reason for above error is that i have taken the above script from a 11g database and running it on 10g database. 11g has bring some changes in password management. Below code is executed on 11g and user created successfully, which is expected result.