Wrong Results from UNION ALL Used Within WITH Section Using XMLTABLE
(Doc ID 1589301.1)
Last updated on MARCH 10, 2019
Applies to:Oracle Database - Enterprise Edition - Version 188.8.131.52 to 184.108.40.206 [Release 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
A UNION ALL of select statements from a WITH section, where the WITH section selects from XMLTABLE, is not returning the expected result.
Below is an example query:
which is returning 'no row selected' while each separated statement is returning rows.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document