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 : 21-08-2017

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

  • ora-13377 : invalid combination of elements with orientation
  • ora-38741 : Formatted blocks value string is not valid.
  • ora-25128 : No insert/update/delete on table with constraint (string.string) disabled and validated
  • ora-27021 : sequential file handle must be specified
  • ora-28606 : block too fragmented to build bitmap index (string,string)
  • ora-38419 : invalid identifier in attribute : string
  • ora-15029 : disk 'string' is already mounted by this instance
  • ora-27094 : raw volume used can damage partition table
  • ora-29816 : object being disassociated is not present
  • ora-32342 : The EXPLAIN_MVIEW facility failed to explain the materialized view statement
  • ora-19512 : file search failed
  • ora-16138 : end of log stream not received from primary
  • ora-30063 : Internal Event to Test NTP
  • ora-07717 : sksaalo: error allocating memory
  • ora-09927 : Unable to set label of server
  • ora-16766 : Redo Apply unexpectedly offline
  • ora-07579 : spini: $DCLEXH failure
  • ora-31117 : Table "string"."string" is not resource metadata enabled
  • ora-30054 : invalid upper limit snapshot expression
  • ora-12066 : invalid CREATE MATERIALIZED VIEW command
  • ora-22322 : error table "string"."string" has incorrect structure
  • ora-23485 : Column group "string" must consist of a single numeric column only
  • ora-12642 : No session key
  • ora-30185 : output too large to fit in the buffer
  • ora-16620 : one or more databases could not be contacted for a delete operation
  • ora-06449 : The list IO or the sysvendor is not installed.
  • ora-13638 : The user interrupted the current operation.
  • ora-38603 : FI including & excluding cursor can only return one column
  • ora-02727 : osnpop: access error on orapop executable
  • ora-06956 : Failed to get local host name
  • 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.