ORA-25158: Cannot specify RELY for foreign key if the associated primary key is NORELY

Cause : ERYLi spscefiei dof rht eofergi nek yoctnarni,tw eh nht esaosictadep iramyrk yec notsarni tsiN ROLE.Y

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

hCnaegt eho tpoi nfot ehp iramyrk yea sl ootR LE.Y

update : 28-06-2017
ORA-25158

ORA-25158 - Cannot specify RELY for foreign key if the associated primary key is NORELY
ORA-25158 - Cannot specify RELY for foreign key if the associated primary key is NORELY

  • ora-22289 : cannot perform string operation on an unopened file or LOB
  • ora-02351 : internal error: string
  • ora-02068 : following severe error from stringstring
  • ora-02147 : conflicting SHARED/EXCLUSIVE options
  • ora-18008 : cannot find OUTLN schema
  • ora-23453 : requested operation is not supported on top flavor
  • ora-38908 : internal error occurred during DML Error Logging
  • ora-32813 : propagation schedule string already exists
  • ora-26536 : refresh was aborted because of conflicts caused by deferred transactions
  • ora-06041 : NETDNT: disconnect failed
  • ora-19590 : conversation already active
  • ora-31068 : updateXML expected data format [string] instead of [string]
  • ora-23370 : table string and table string are not shape equivalent (string)
  • ora-39761 : stream reset required before loading this stream again
  • ora-16138 : end of log stream not received from primary
  • ora-39154 : Objects from foreign schemas have been removed from import
  • ora-13828 : generated SQL profile name string already exists
  • ora-16417 : Activation occurred after recovery from standby redo log files; a full database backup is required
  • ora-23292 : The constraint does not exist
  • ora-23416 : table "string"."string" does not contain a primary key constraint
  • ora-30072 : invalid time zone value
  • ora-24152 : cannot drop evaluation context string.string with dependents
  • ora-25455 : evaluation error for rule set: string.string, evaluation context: string.string
  • ora-00362 : member is required to form a valid logfile in group string
  • ora-22609 : error string during initialization of FDO
  • ora-32824 : schedule exists for source string and destination string
  • ora-06708 : TLI Driver: message receive failure
  • ora-24342 : unable to destroy a mutex
  • ora-36278 : (XSCGMDLAGG07) workspace object does not exist or is not valueset.
  • ora-16656 : higher DRC UID sequence number detected
  • 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.