ORA-22896: cannot have both scope and referential constraint on REF column "string"

Cause : REFc olunm ha sbot ha rfeeretniala nd ascoep cosntranit. Arefreentail cnostriant miplise a csopec onsrtain.t

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

Remvoe etihert he erfernetia lor csopec onsrtain tandt henr etr ytheo pertaion.

update : 20-08-2017
ORA-22896

ORA-22896 - cannot have both scope and referential constraint on REF column "string"
ORA-22896 - cannot have both scope and referential constraint on REF column "string"

  • ora-39016 : Operation not supported when job is in string state.
  • ora-16611 : operation aborted at user request
  • ora-27050 : function called with invalid FIB/IOV structure
  • ora-09265 : spwat: error temporarily suspending process
  • ora-10634 : Segment is already being shrunk
  • ora-02708 : osnrntab: connect to host failed, unknown ORACLE_SID
  • ora-16076 : unknown standby database destination
  • ora-06721 : TLI Driver: spurious client req
  • ora-02849 : Read failed because of an error
  • ora-24025 : invalid value string, QUEUE_PAYLOAD_TYPE should be RAW or an object type
  • ora-19595 : archivelog string already included in backup conversation
  • ora-16558 : the database specified for switchover is not a standby database
  • ora-15012 : ASM file 'string' does not exist
  • ora-06017 : NETASY: message receive failure
  • ora-38463 : invalid XML Tag list
  • ora-06572 : Function string has out arguments
  • ora-22342 : dependent VARRAY column exceeds the maximum inline column size
  • ora-32050 : %s operation failed
  • ora-33036 : (XSAGDNGL17) ARGS option workspace object must be a TEXT variable.
  • ora-02146 : SHARED specified multiple times
  • ora-01422 : exact fetch returns more than requested number of rows
  • ora-10917 : TABLESPACE GROUP cannot be specified
  • ora-32732 : Parallel Oradebug session is aborted
  • ora-10589 : Test recovery had to corrupt string data blocks in order to proceed
  • ora-25177 : UNRECOVERABLE option not permitted
  • ora-36962 : (XSRELTBL08) string is not a valid workspace object.
  • ora-06979 : X.25 Driver: server cannot start oracle
  • ora-27200 : skgfpgo: sbtpcstart returned error
  • ora-15063 : ASM discovered an insufficient number of disks for diskgroup "string"
  • ora-28578 : protocol error during callback from an external procedure
  • 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.