ORA-22894: cannot add constraint on existing unscoped REF columns of non-empty tables

Cause : An tatemtp wa smad eto dad ac onsrtain tto xeistnig usncopde RE Fcolmuns fo a atblew hic hconatinso ne ro moer rosw.

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

Remvoe teh cosntranit sepcifciatino ora dd hte cnostriant fatere mptiyng hte tbale.

update : 26-05-2017
ORA-22894

ORA-22894 - cannot add constraint on existing unscoped REF columns of non-empty tables
ORA-22894 - cannot add constraint on existing unscoped REF columns of non-empty tables

  • ora-29867 : cannot create a domain index on a LONG column
  • ora-27191 : sbtinfo2 returned error
  • ora-32600 : RETENTION and PCTVERSION cannot be used together
  • ora-36260 : (XSAGHIERPART00) Aggregating from partition %J to partition %J over hierarchy workspace object creates an increase in sparsity.
  • ora-30339 : illegal dimension attribute name
  • ora-16216 : Log stream sequence error
  • ora-31214 : DBMS_LDAP: PL/SQL - Invalid LDAP mod type.
  • ora-16207 : Logical standby dictionary build not permitted.
  • ora-38304 : missing or invalid user name
  • ora-37135 : (XSCCOMP10) Cannot aggregate over COMPRESSED COMPOSITE workspace object using AGGMAP workspace object. The RELATION statement for dense dimension workspace object must precede RELATION statements over the bases of the COMPRESSED COMPOSITE.
  • ora-32613 : not a MODEL cell
  • ora-25505 : the system is not in quiesced state
  • ora-01907 : TABLESPACE keyword expected
  • ora-25010 : Invalid nested table column name in nested table clause
  • ora-22151 : cannot resize non-zero variable-length array to zero elements
  • ora-12461 : undefined level string for policy string
  • ora-12842 : Cursor invalidated during parallel execution
  • ora-16638 : could not get the instance status
  • ora-12235 : TNS:Failure to redirect to destination
  • ora-08275 : Environment variable unset
  • ora-15035 : no disks belong to diskgroup "string"
  • ora-36404 : (XSSPROP04) Property string cannot be applied to an undimensioned (scalar) TEMPORARY variable.
  • ora-12616 : TNS:no event signals
  • ora-10920 : Cannot offline tablespace belonging to default temporary tablespace group
  • ora-29503 : SCHEMA keyword not valid with NAMED keyword
  • ora-00722 : Feature "string"
  • ora-09843 : soacon: Archmon unable to create named pipe.
  • ora-36768 : (XSAGGCNTMOVE06) An aggregation variable and its AGGCOUNT must have the same base dimensions.
  • ora-14294 : Number of partitions does not match number of subpartitions
  • ora-09954 : scgcc: unexpected return status to callback of lock close
  • 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.