Altering Primary Table Causes COMPILATION_ERROR Even After Same Changes Made to Mview
(Doc ID 1574587.1)
Last updated on NOVEMBER 07, 2023
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.4 to 11.2.0.1 [Release 10.2 to 11.2]Information in this document applies to any platform.
Symptoms
After altering the primary table and making the same changes to the materialized view's container table, the materialized view will not refresh; it has a status of INVALID and a staleness of COMPILATION_ERROR. The only remedy is to drop and recreate the materialized view after changing the primary table. The two cases documented for this are when a column datatype is changed or a column length is changed.
Changes
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! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |