ORA-942 Received On Object Which Exists and Been Granted Appropriate Privleges (Doc ID 605777.1)

Last updated on MARCH 23, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.2 to 10.2.0.4 [Release 10.2]
Information in this document applies to any platform.
This problem can occur on any platform.

Symptoms

ORA-942 error is received when running statement that selects from synonyms through a dblink, even though the object exist and appropriate access privileges has been granted to the object.

The statement is normally successful when the user has just been granted the select privilege from the owner of the table.  After an unknown number of times running the statement successfully, the statement begins to fail through both the application (a C program)  and SQL*Plus.

At this point, if the user is again granted the privilege in the exact same way, the select statement is once again successful.

<<Patch 5458753>> and <<Patch 5686711>> have already been applied, but problem persists 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms