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!

Dropping orphaned Synonyms

user128148Jun 4 2007 — edited Jun 4 2007
Hello,

I want to drop synonyms that are "orphaned", those synonyms whose underlining objects no longer exist. So when I go to query the dba_synonyms, it appears that the underlining are tables. Does this mean that synonyms can only be created for table objects? Thank you.


SQL> desc dba_synonyms;
Name Null? Type
----------------------------------------- -------- ----------------------------
OWNER NOT NULL VARCHAR2(30)
SYNONYM_NAME NOT NULL VARCHAR2(30)
TABLE_OWNER VARCHAR2(30)
TABLE_NAME NOT NULL VARCHAR2(30)
DB_LINK VARCHAR2(128)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 2 2007
Added on Jun 4 2007
4 comments
1,150 views