ORA-22979: cannot INSERT object view REF or user-defined REF

Cause : Attempt to insert an object view REF or user-defined REF in a REF column created to store system generated REF values"

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

Make sure the REF to be inserted is not from an object view or from a user-defined REF column

update : 20-08-2017

ORA-22979 - cannot INSERT object view REF or user-defined REF
ORA-22979 - cannot INSERT object view REF or user-defined REF

  • ora-24371 : data would not fit in current prefetch buffer
  • ora-09976 : skxfqdini: Error Creating Port
  • ora-32019 : The parameter SPFILE cannot be updated in the server parameter file.
  • ora-24422 : error occurred while trying to destroy the Session Pool
  • ora-12426 : invalid audit option
  • ora-07441 : function address must be aligned on string byte boundary
  • ora-31057 : Display Name of the element being inserted is null
  • ora-06126 : NETTCP: ORASRV unable to open network connection
  • ora-28356 : invalid open wallet syntax
  • ora-01174 : DB_FILES is string buts needs to be string to be compatible
  • ora-02458 : HASHKEYS must be specified for a HASH CLUSTER
  • ora-01103 : database name 'string' in control file is not 'string'
  • ora-27471 : window "string.string" is already closed
  • ora-02276 : default value type incompatible with column type
  • ora-26693 : STREAMS string process dropped successfully, but error occurred while dropping rule set string
  • ora-16057 : DGID from server not in Data Guard configuration
  • ora-09811 : Unable to initialize package.
  • ora-01284 : file string cannot be opened
  • ora-39772 : column array reset disallowed after OCI_CONTINUE or OCI_NEED_DATA
  • ora-00050 : operating system error occurred while obtaining an enqueue
  • ora-16658 : unobserved Fast-Start Failover configuration
  • ora-29342 : user string does not exist in the database
  • ora-01115 : IO error reading block from file string (block # string)
  • ora-02157 : no options specified for ALTER USER
  • ora-25101 : duplicate REBUILD option specification
  • ora-31114 : XDB configuration has been deleted or is corrupted
  • ora-13118 : invalid node_id [string]
  • ora-08453 : more than one V symbol specified in picture mask
  • ora-37141 : (XSSQLMDQ01) Invalid host variable syntax for MDQUERY procedure.
  • ora-09951 : Unable to create file
  • 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.