XMLTABLE Query Result Different After Upgrade To 12.2.0.1
(Doc ID 2638348.1)
Last updated on JULY 20, 2024
Applies to:
Oracle Database - Enterprise Edition - Version 12.2.0.1 to 19.6.0.0.0 [Release 12.2 to 19]Information in this document applies to any platform.
Symptoms
The same query on the same data in an XML table is returning different results on 12.1 and 12.2
SELECT col1, col2, col3, (SELECT SUM (EARNED_INCOME)
FROM XML_TEST f1, XMLTABLE ('.....' PASSING f1.xml
COLUMNS ...... , XMLTABLE ('for $i in ..... return element r{$i}'
.....
The query returns 8 rows on 12.1
The query returns 0 rows on 12.2
The 8 rows returned are the correct result.
Changes
The incorrect results are seen in 12.2 in contrast to correct results in 12.1.
Cause
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
Symptoms |
Changes |
Cause |
Solution |
References |