ORA-22978: only simple attribute name is allowed in the WITH OBJECT OID clause

Cause : Attempted to specify a Nested attribute in the WITH OBJECT OID clause.

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

Specify a top-level attribute of the object type of the object view.

update : 27-04-2017

ORA-22978 - only simple attribute name is allowed in the WITH OBJECT OID clause
ORA-22978 - only simple attribute name is allowed in the WITH OBJECT OID clause

  • ora-14006 : invalid partition name
  • ora-02354 : error in exporting/importing data string
  • ora-28180 : multiple authentication methods provided by proxy
  • ora-29813 : non-supported object type with associate statement
  • ora-10572 : Test recovery canceled due to errors
  • ora-33447 : (ESDREAD16) Discarding compiled code for workspace object because workspace object and workspace object, which were partition-dependent when the code was compiled, are now not partition-dependent.
  • ora-21611 : key length [string] is invalid
  • ora-19631 : archivelog record contains no file name
  • ora-12951 : Attempt to change default permanent tablespace to temporary
  • ora-32603 : invalid FREEPOOLS LOB storage option value
  • ora-25220 : enqueue failed, signature not specified for a non-repudiable queue
  • ora-08435 : PICTURE MASK missing the leading sign when SIGN IS LEADING specified
  • ora-01571 : redo version string incompatible with ORACLE version string
  • ora-13837 : invalid HASH_VALUE
  • ora-38861 : flashback recovery stopped before reaching recovery target
  • ora-09750 : pw_attachPorts: port_rename failed.
  • ora-01336 : specified dictionary file cannot be opened
  • ora-19651 : cannot apply offline-range record to datafile string: SCN mismatch
  • ora-01490 : invalid ANALYZE command
  • ora-25007 : functions or methods not allowed in WHEN clause
  • ora-00304 : requested INSTANCE_NUMBER is busy
  • ora-30649 : missing DIRECTORY keyword
  • ora-13144 : target table string not found
  • ora-25353 : branch marked for deletion
  • ora-00059 : maximum number of DB_FILES exceeded
  • ora-04054 : database link string does not exist
  • ora-24952 : register, unregister or post has incorrect collection count
  • ora-22814 : attribute or element value is larger than specified in type
  • ora-31087 : insufficient privileges to delete schema "string"
  • ora-25219 : enqueue failed, sequence deviation not allowed for queue string.string
  • 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.