How To Use DBMS_METADATA_DIFF API To Compare Object Metadata
Last updated on FEBRUARY 15, 2017
Applies to:Oracle Database - Enterprise Edition - Version 126.96.36.199 to 188.8.131.52 [Release 11.2]
Information in this document applies to any platform.
RDBMS version 11gR2.
***Checked for relevance on 15-Feb-2017***
The provided information/example shows how to use DBMS_METADATA_DIFF API to compare object metadata.
For the example a new test schema and two test tables need to be created as summarized below:
- Create a new testschema.
- Create two tables under the test schema.
These tables are going to have a few DDL differences for this example.
- Run DBMS_METADATA_DIFF API to compare the tables and show the differences
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