XMLTABLE Join Failed With ORA-32582 After Upgrade To From PSU11

(Doc ID 1667872.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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


On : version, XML Database

XMLTABLE join failed with ORA-32582 after upgrade to from PSU11

some business queries began to fail after upgrade to
SQL> select
  2 xtab.releaseLines
  3 FROM XMLTABLE('sample/Releases/Release'
  4 PASSING xmltype('')
  5 COLUMNS allotmentId number PATH '@AllotmentId',
  6 releaseLines xmltype PATH '.'
  7 )xtab,
  8 (select null od_stockunitid, null gd_stocktypesubservicecode from dual) cu,
  9 (select 1 XMLUnitid, 2 StockUnitID ,3 Subservice from dual) XML_UNIT
 10 where
 11 XML_UNIT.XMLUnitid (+) = xtab.allotmentId
 12 AND XML_UNIT.StockUnitID = cu.od_stockunitid (+);
  (select null od_stockunitid, null gd_stocktypesubservicecode from dual) cu,
ERROR at line 8:
ORA-32582: table function with left correlation to a table cannot also be left outer-joined to the table

They were running fine with PSU 11


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