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 : 22-09-2017
ORA-22817

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

  • ora-36393 : (XSMXCLEA03) When using the AGGREGATES, CHANGES or CACHE options, you must specify the ALL keyword.
  • ora-01621 : cannot rename member of current log if database is open
  • ora-38795 : warning: FLASHBACK succeeded but OPEN RESETLOGS would get error below
  • ora-15040 : diskgroup is incomplete
  • ora-03264 : cannot drop offline datafile of locally managed tablespace
  • ora-24043 : destination string uses a reserved name, names with AQ$_ prefix are not valid
  • ora-13288 : point coordinate transformation error
  • ora-19713 : invalid copy number: string
  • ora-09270 : szalloc: error allocating memory for security
  • ora-02488 : Error encountered when accessing file [string] for trace conversion
  • ora-00223 : convert file is invalid or incorrect version
  • ora-12166 : TNS:Client can not connect to HO agent.
  • ora-25214 : cannot specify delay or expiration for enqueue to exception queue
  • ora-02217 : duplicate storage option specification
  • ora-00257 : archiver error. Connect internal only, until freed.
  • ora-36708 : (XSMXALLOC00) Variable workspace object must be dimensioned to be used by the ALLOCATE command.
  • ora-31398 : DBMS_LDAP: Shared servers are not supported.
  • ora-32838 : exceeded maximum number of properties
  • ora-12345 : user string lacks CREATE SESSION privilege in database link (linkname string)
  • ora-08434 : raw data has invalid trailing sign
  • ora-07706 : error in archive text: need disk file name
  • ora-31470 : asynchronous change tables must contain the RSID$ column
  • ora-24239 : object could not be invalidated
  • ora-12351 : cannot create view using a remote object which has a remote object reference
  • ora-16736 : unable to find the destination entry of standby database "string" in V$ARCHIVE_DEST
  • ora-10568 : Failed to allocate recovery state object: out of SGA memory
  • ora-38744 : file string is not the same file seen at start of flashback
  • ora-01463 : cannot modify column datatype with current constraint(s)
  • ora-36676 : (XSDPART14) Missing dimension list for string.
  • ora-06039 : NETDNT: connect failed
  • 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.