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-06-2017
ORA-19036

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

  • ora-06959 : Buffer I/O quota is too small
  • ora-24064 : propagation for QUEUE string and DESTINATION string already enabled
  • ora-06622 : LU6.2 Driver: Unable to attach to SNA
  • ora-32142 : maximum number of iterations exceeded
  • ora-39957 : invalid warning category
  • ora-29361 : value string is outside valid range of 0 to 100
  • ora-16170 : Terminal recovery may have left the database in an inconsistent state
  • ora-23355 : object string.string does not exist or is invalid at master site
  • ora-26509 : null materialized view control structure
  • ora-22294 : cannot update a LOB opened in read-only mode
  • ora-19597 : file string blocksize string does not match set blocksize of string
  • ora-01246 : recovering files through TSPITR of tablespace string
  • ora-28348 : index defined on the specified column cannot be encrypted
  • ora-01226 : file header of log member is inconsistent with other members
  • ora-26018 : Column string in table string does not exist
  • ora-24096 : invalid message state specified
  • ora-02058 : no prepared transaction found with ID string
  • ora-19609 : %s is from different backup set: stamp string count string
  • ora-14079 : illegal option for a partition marked Index Unusable
  • ora-09363 : Windows 3.1 Two-Task driver invalid context area
  • ora-15178 : directory 'string' is not empty; cannot drop this directory
  • ora-39127 : unexpected error from call to string string
  • ora-32832 : failure string trying to acquire administration lock
  • ora-28053 : the account is inactive
  • ora-28279 : Error reading ldap_directory_access init parameter.
  • ora-26522 : rpc execution error
  • ora-24060 : cannot convert QUEUE_TABLE, string already is compatible with release string
  • ora-01659 : unable to allocate MINEXTENTS beyond string in tablespace string
  • ora-30047 : Internal event for kti tracing
  • ora-13226 : interface not supported without a spatial index
  • 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.