Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle Best Practices Discussion Pros/Cons of using Synonyms

yakub21Nov 4 2009 — edited Nov 6 2009
Please share your experience given the Pros/Cons of Developing Enterprise Database Applications using public and private Synonyms.

My recommendation to developers on my team is to avoid using Public Synonyms in their code and instead Fully Qualify the database object by schema owner.

Pros: When you drop a schema, you do not drop the public synonyms that they created. Therefore if you have to use synonym, make it private and not public.

Please share your experience!
This post has been answered by Hans Forbrich on Nov 4 2009
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2009
Added on Nov 4 2009
8 comments
3,723 views