ORA-22817: subquery not allowed in the default clause

Cause : nAa ttmetpw sam da eotu esa s buuqre ynit ehc lomu nedaflu tlcuaese pxerssoi.n

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

eRomevt ehs buuqre yrfmot ehd feuatlc alsu.e

update : 26-04-2017
ORA-22817

ORA-22817 - subquery not allowed in the default clause
ORA-22817 - subquery not allowed in the default clause

  • ora-32322 : PCT refresh of "string"."string" not allowed the sequence of DMLs/PMOPs
  • ora-13200 : internal error [string] in spatial indexing.
  • ora-28103 : adding a policy to an object owned by SYS is not allowed
  • ora-12402 : invalid format string: string
  • ora-38852 : cannot mark the current instance (redo thread) as disabled
  • ora-31019 : Recursive deletion snapshot too old for string/string
  • ora-07707 : error in archive text: need tape label name
  • ora-08321 : scnmin: NOT IMPLEMENTED YET
  • ora-15047 : ASM file name 'string' is not in multiple-file creation form
  • ora-40003 : wordsize must be in the range string - string for BLAST-P
  • ora-22993 : specified input amount is greater than actual source amount
  • ora-35071 : (QFHEAD06) EIF file string cannot be imported because analytic workspace string has not been upgraded to version string.
  • ora-02827 : Invalid file number
  • ora-37112 : OLAP API requires Oracle 9.2 or later
  • ora-19104 : invalid XQueryX: missing attribute string
  • ora-38303 : invalid option for PURGE TABLESPACE
  • ora-02040 : remote database string does not support two-phase commit
  • ora-19756 : corrupt block number string found in change tracking file
  • ora-39768 : only one direct path context top level column array is allowed
  • ora-31202 : DBMS_LDAP: LDAP client/server error: string
  • ora-10570 : Test recovery complete
  • ora-19705 : tag value exceeds maximum length of string characters
  • ora-24418 : Cannot open further sessions.
  • ora-06922 : CMX: bad write length
  • ora-32304 : materialized views with user-defined types cannot use prebuilt table
  • ora-07614 : $CHANGE_CLASS failed in retrieving the user's process label
  • ora-39107 : Master process string violated startup protocol. Master error:
  • ora-25352 : no current transaction
  • ora-19019 : Invalid context passed to DBMS_XMLGEN.GETXML
  • ora-02302 : invalid or missing type 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.