ORA-22818: subquery expressions not allowed here

Cause : An attempt was made to use a subquery expression where these are not supported.

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

Rewrite the statement without the subquery expression.

update : 29-06-2017

ORA-22818 - subquery expressions not allowed here
ORA-22818 - subquery expressions not allowed here

  • ora-31502 : invalid number supplied for supplemental_processes
  • ora-24280 : invalid input value for parameter string
  • ora-19717 : for non-OMF search the pattern must be specified
  • ora-29362 : plan directive string, string does not exist
  • ora-39081 : failed to unsubscribe agent string from queue "string"
  • ora-16201 : Skip procedure requested to apply statement
  • ora-10661 : Invalid option specified
  • ora-01619 : thread string is mounted by another instance
  • ora-00278 : log file 'string' no longer needed for this recovery
  • ora-22881 : dangling REF
  • ora-02729 : osncon: driver not in osntab
  • ora-38904 : DML error logging is not supported for LOB column "string"
  • ora-21525 : attribute number or (collection element at index) string violated its constraints
  • ora-40001 : value for string must be greater than zero
  • ora-07645 : sszfsl: $CHANGE_CLASS failure
  • ora-31155 : attribute string not in XDB namespace
  • ora-16242 : Processing logfile (thread# string, sequence# string)
  • ora-12020 : materialized view string is not registered
  • ora-13765 : Value "string" is illegal for a result limit.
  • ora-22880 : invalid REF
  • ora-06419 : NETCMN: server can not start oracle
  • ora-16162 : Cannot add new standby databases to protected configuration
  • ora-28537 : no more result sets
  • ora-24360 : Type Descriptor Object not specified for Object Bind/Define
  • ora-28511 : lost RPC connection to heterogeneous remote agent using SID=string
  • ora-16582 : could not edit instance specific property
  • ora-13300 : single point transform error
  • ora-03007 : obsolete feature
  • ora-24232 : unknown Embedded PL/SQL Gateway attribute string
  • ora-16081 : insufficient number of processes for APPLY
  • 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.