My Oracle Support Banner

Using DBMS_METADATA_DIFF incorrectly raises error that XDB is not installed (Doc ID 1375713.1)

Last updated on JANUARY 07, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.2 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.
***Checked for relevance on 15-Apr-2013***

Symptoms

When executing the following in the database:

SELECT DBMS_METADATA_DIFF.COMPARE_ALTER( ..........) FROM DUAL;

The following errors are raised, even though XDB is present and valid in the database.

Error at line 0
ORA-38500: Unsupported operation: Oracle XML DB not present
ORA-06512: at "SYS.DBMS_METADATA_DIFF", line 698
ORA-06512: at line 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
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.