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 : 20-08-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-19508 : failed to delete file "string"
  • ora-19026 : EXTRACTVALUE can only retrieve value of leaf node
  • ora-27480 : window "string" is currently open
  • ora-29521 : referenced name string could not be found
  • ora-29547 : Java system class not available: string
  • ora-19247 : XQ0027 - validation error
  • ora-07880 : sdopnf: internal error
  • ora-13787 : missing SQL profile for statement object "string" for tuning task "string"
  • ora-14027 : only one PARTITION clause may be specified
  • ora-12472 : policy string is being used
  • ora-25280 : complete sender information not provided to non-repudiate sender
  • ora-13523 : unable to allocate required space for return type
  • ora-06504 : PL/SQL: Return types of Result Set variables or query do not match
  • ora-12855 : cannot run parallel or insert direct load in a loopback
  • ora-01999 : password file cannot be updated in SHARED mode
  • ora-16804 : one or more configuration properties in metadata have invalid values
  • ora-31196 : XML nodes over string in size cannot be printed
  • ora-30765 : cannot modify scope for an unscoped REF column
  • ora-13206 : internal error [string] while creating the spatial index
  • ora-25114 : invalid file number specified in the DUMP DATAFILE/TEMPFILE command
  • ora-15021 : parameter "string" is not valid in string instance
  • ora-00165 : migratable distributed autonomous transaction with remote operation is not allowed
  • ora-27007 : failed to open file
  • ora-39751 : partitioned table on both sides of PARTITIONED OUTER JOIN is not supported
  • ora-33920 : (MAKEDCL34) The string SURROGATE must have one of the following data types: ID, NTEXT, TEXT, NUMBER, or INTEGER.
  • ora-16254 : change db_name to string in the client-side parameter file (pfile)
  • ora-16650 : command incompatible when Fast-Start Failover is enabled
  • ora-07506 : scgrl: $deq unexpected return on lockid string
  • ora-07843 : sllfcl: LIB$FREE_VM failure
  • ora-00320 : cannot read file header from log string of thread string
  • 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.