ORA-19036: Invalid query result set in newContextFromHierarchy()

Cause : The result set of the query used in the newContextFromHierarchy() does not have the same property as the result set generated by a CONNECT BY query.

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

Make sure the query used in newContextFromHierarchy() is a CONNECT BY query or the query returns the result set have the same property as the result set generated by a CONNECT BY query.

update : 29-04-2017

ORA-19036 - Invalid query result set in newContextFromHierarchy()
ORA-19036 - Invalid query result set in newContextFromHierarchy()

  • ora-38768 : resizing datafile string failed
  • ora-14299 : total number of partitions/subpartitions exceeds the maximum limit
  • ora-06570 : shared pool object does not exist, cannot be pinned
  • ora-07623 : smscre: $CRMPSC failure
  • ora-15041 : diskgroup space exhausted
  • ora-24758 : not attached to the requested transaction
  • ora-16730 : error executing dbms_logstdby.skip_txn procedure
  • ora-19565 : BACKUP_TAPE_IO_SLAVES not enabled when duplexing to sequential devices
  • ora-24320 : unable to initialize a mutex
  • ora-19590 : conversation already active
  • ora-14036 : partition bound value too large for column
  • ora-14167 : only one subpartition may be moved
  • ora-23501 : refresh template cannot be instantiated for database with compatibilty equal to or less than 8.0
  • ora-16807 : unable to change database protection mode
  • ora-23322 : Privilege error accessing pipe
  • ora-13034 : Invalid data in the SDO_ORDINATE_ARRAY in SDO_GEOMETRY object
  • ora-10585 : Test recovery can not apply redo that may modify control file
  • ora-24805 : LOB type mismatch
  • ora-06523 : Maximum number of arguments exceeded
  • ora-02171 : invalid value for MAXLOGHISTORY
  • ora-29966 : The only binding of an operator cannot be dropped
  • ora-02255 : obsolete 7.1.5
  • ora-02707 : osnacx: cannot allocate context area
  • ora-01647 : tablespace 'string' is read only, cannot allocate space in it
  • ora-00750 : database has been previously mounted and dismounted
  • ora-00374 : parameter db_block_size = string invalid ; must be a multiple of string in the range [string..string]
  • ora-19125 : fn:exactly-one() called with a sequence containing zero or more than one item
  • ora-16172 : archive logs detected beyond Terminal End-Of-Redo
  • ora-01518 : CREATE DATABASE must specify more than one log file
  • ora-30364 : this level has the same set of columns as another
  • 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.