Wrong Results from UNION ALL Used Within WITH Section Using XMLTABLE
Last updated on FEBRUARY 08, 2017
Applies to:Oracle Database - Enterprise Edition - Version 184.108.40.206 to 220.127.116.11 [Release 11.2]
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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms