Database Administration (MOSC)

MOSC Banner

How to work with public synonyms in a Pluggable Database?

edited Jul 20, 2016 1:25PM in Database Administration (MOSC) 6 commentsAnswered

I ran into some problems tonight where a bunch of packages and public synonyms became invalid. I was able to recompile the packages no problem, but when I tried to recompile the public synonyms, I ran into the following error:

ALTER PUBLIC SYNONYM DBA_STREAMS_SPLIT_MERGE_HIST COMPILE

*

ERROR at line 1:

ORA-65040: operation not allowed from within a pluggable database

I have tried searching google with no success, how do we work with public synonyms in 12c pluggable database?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

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

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center