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-04-2017

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-19769 : missing FILE keyword
  • ora-19754 : error reading from change tracking file
  • ora-22878 : duplicate LOB partition or subpartition specified
  • ora-24307 : invalid length for piece
  • ora-12487 : clearance labels not between DBHIGH and DBLOW
  • ora-01080 : error in shutting down ORACLE
  • ora-30972 : invalid ALTER INDEX option for XML Index
  • ora-40302 : invalid classname string in cost matrix specification
  • ora-01026 : multiple buffers of size > 4000 in the bind list
  • ora-29262 : bad URL
  • ora-06117 : NETTCP: unable to create ORASRV: quota exceeded
  • ora-38700 : Limit of string flashback database logs has been exceeded.
  • ora-06319 : IPA: Remote maximum number of users exceeded
  • ora-26501 : RepAPI operation failure
  • ora-07742 : slemop: $CONNECT failure
  • ora-13381 : table:string not found in network:string
  • ora-30024 : Invalid specification for CREATE UNDO TABLESPACE
  • ora-19005 : Duplicate XMLType LOB storage option
  • ora-25336 : Cannot contact instance string during Streams AQ operation
  • ora-16037 : user requested cancel of managed recovery operation
  • ora-02813 : Unable to make temporary file name in order to get key
  • ora-29346 : invalid tablespace list
  • ora-14455 : attempt to create referential integrity constraint on temporary table
  • ora-24382 : statement handled already executed or described
  • ora-21601 : attribute is not an object
  • ora-24785 : Cannot resume a non-migratable transaction
  • ora-12065 : unknown refresh group identifier string
  • ora-23309 : object string.string of type string exists
  • ora-12812 : only one PARALLEL or NOPARALLEL clause may be specified
  • ora-36708 : (XSMXALLOC00) Variable workspace object must be dimensioned to be used by the ALLOCATE command.
  • 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.