Oracle Error ORA-30378: MV_CAPABILITIES_TABLE is not compatible with Oracle version

Oracle Error Message

ORA-30378: MV_CAPABILITIES_TABLE is not compatible with Oracle version

Reason for the Error

One or more column definitions in the MV_CAPABILITIES_TABLE is either missing or incompatible with the current Oracle version.

Solution

Connect to the appropriate schema, DROP TABLE MV_CAPABILITIES_TABLE and recreate it by invoking the admin/utlxmv.sql script prior to invoking the DBMS_MVIEW.EXPLAIN_MVIEW() API.