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 : 25-05-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-27415 : repeat interval or calendar must start with the FREQ= clause
  • ora-02778 : Name given for the log directory is invalid
  • ora-28561 : unable to set date format on non-Oracle system
  • ora-39002 : invalid operation
  • ora-22311 : type for attribute "string" does not exist
  • ora-07820 : sspscn: SYS$CRELNM failure
  • ora-16951 : Too many bind variables supplied for this SQL statement.
  • ora-14613 : Attempt to generate name from parent name string and template name string failed as the combine named would have been longer than allowed
  • ora-29380 : resource plan string is currently active and cannot be deleted
  • ora-18008 : cannot find OUTLN schema
  • ora-36968 : (XSRELTBL11) workspace object must be a relation.
  • ora-16823 : redo transport mode is incompatible for current operation
  • ora-23353 : deferred RPC queue has entries for object group "string"."string"
  • ora-25229 : error on transformation of message string string
  • ora-32343 : let MVIEW engine know that it is IMPORT from 9i or earlier
  • ora-31660 : metadata filter name can not be defaulted
  • ora-01550 : cannot drop system tablespace
  • ora-19282 : XQ0068 - It is a static error if a Prolog contains more than one xmlspace declaration
  • ora-24076 : cannot perform operation string for NON_PERSISTENT queue string.string
  • ora-12168 : TNS:Unable to contact LDAP Directory Server
  • ora-01180 : can not create datafile 1
  • ora-00089 : invalid instance number in ORADEBUG command
  • ora-15000 : command disallowed by current instance type
  • ora-12401 : invalid label string: string
  • ora-23426 : deferred RPC queue has entries for string
  • ora-12430 : invalid privilege number
  • ora-07443 : function string not found
  • ora-25295 : Subscriber is not allowed to dequeue buffered messages
  • ora-32340 : cannot tune the materialized view definition
  • ora-19223 : XP0003 - syntax error in XQuery expression
  • 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.