Materialized View Using Xmlagg(xmlelement) Function ORA-38818: Illegal Reference To Editioned Object

(Doc ID 2397763.1)

Last updated on MAY 11, 2018

Applies to:

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

Symptoms

create or replace view xxtest_sample_v#
as
select xmlagg(xmlelement("hire_date",sysdate)) result from dual;

returns the following

ORA-38818: illegal reference to editioned object APPS.XXTEST_SAMPLE_V#

Changes

 

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