XMLTYPE in a WITH Clause Fails with ORA-06512 & ORA-06502

(Doc ID 1640869.1)

Last updated on MARCH 30, 2014

Applies to:

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


Below query will raise ORA-06512 & ORA-06502 errors -



same issue is also seen when optimizer chose to materialize the inline view.


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