XMLTable returns incorrect results after upgrading to 12.2.0.1.0 (Doc ID 2288113.1)

Last updated on JULY 19, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

XMLTable returns incorrect results after upgrading from 11.2.0.3.0 to 12.2.0.1.0

testview11g.out

SQL>
SQL> select count(*) from vowner.ws_test_view;

COUNT(*)
----------
2

testview12c.out

SQL>
SQL> select count(*) from vowner.ws_test_view;

COUNT(*)
----------
0

Cause

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