My Oracle Support Banner

ERROR ORA-12054 FOR ON-COMMIT MVIEWS WRITTEN IN ANSI SQL FORMAT (Doc ID 420856.1)

Last updated on NOVEMBER 26, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.3 [Release 9.2 to 11.2]
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Any on commit materialized view with inner or outer joins and refresh fast, which is written using ANSI SQL format gives following error messages.

As some sample errors it has been observed that materialized views satisfying this condition does not automatically re-compile forcing query rewrite to fail. Or errors during refresh may appear.

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product.  Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

On releases pre-10gR2, it was also observed error ORA-12015 did occur for on demand mviews.

Error ORA-12015 does not occur for on demand mviews with ANSI SQL from release 10gR2 onwards.

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
Cause
Solution
References

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