My Oracle Support Banner

Mview Refresh Fails with "ORA-01740" and "PLS-00357: Table,View Or Sequence reference not allowed in this context" after failover (Doc ID 2530481.1)

Last updated on APRIL 17, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


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.

After a failover from a standby to a primery database (ungraceful switch to the standby), you see errors like the following during an MV refresh:



 A failover from a primary database to a standby database took place (ungraceful switch between the two database roles).


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

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