Oracle Error ORA-39287: Cannot alter index column list.

Oracle Error Message

ORA-39287: Cannot alter index column list.

Reason for the Error

DBMS_METADATA_DIFF was comparing two indexes with different column lists. There is no SQL ALTER statement to change the columns of an index.

Solution

The difference cannot be eliminated with an SQL ALTER statement.