My Oracle Support Banner

DBMS_METADATA_DIFF.COMPARE_ALTER_XML DOES NOT CAPTURE CHAR/BYTE CHANGE (Doc ID 2386683.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.4 to 12.2.0.1 [Release 11.2 to 12.2]
Information in this document applies to any platform.

Symptoms

When using DBMS_METADATA_DIFF.COMPARE_ALERT_XML, an alter table command to change just the length semantics from BYTE to CHAR or CHAR to BYTE is not captured, however DBMS_METADATA sees the change.

If we also change the length of the column, the change can be captured by DBMS_METADATA_DIFF.COMPARE_ALERT_XML.

 

The package should pick up the change as it alters the default of the character storage. If a table column's char semantics has been modified from BYTE to CHAR and DBMS_METADATA_DIFF.COMPARE_ALERT_XML() does not report this difference.

 

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!


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