My Oracle Support Banner

DBMS_METADATA_DIFF package for reporting the differences between two objects (Doc ID 2338100.1)

Last updated on JANUARY 16, 2020

Applies to:

Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Backup Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Service - Version N/A and later
Information in this document applies to any platform.


NOTE: In the images and/or the document content below, the user information and environment data used represents fictitious data from the Oracle sample or bulit-in schema(s), Public Documentation delivered with an Oracle database product or other training material.  Any similarity to actual environments, actual persons, living or dead, is purely coincidental and not intended in any manner. 

This document is intended to give some hand-on experience on a newly introduced PL/SQL package DBMS_METADATA_DIFF in 18c.


The information in this document may be useful to Database Administrator and/or Developers.


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
 Displaying the comparison result in DDL format
 Displaying the comparison result in SXML format
 Displaying the comparison result in ALTER_XML format

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