ORA-01775: Looping chain of synonyms

Source: Internet
Author: User
Tags synonym definition

Being good is a habit, life is a process, giving up is a kind of wisdom, and its disadvantage is a kind of favor.

 

 

A synonym error occurs when the base table or view is deleted.

ORA-01775: Looping chain of synonyms

 

Cause: through a series of create synonym statements, a synonym was defined that referred to itself.

 

Action: change one Synonym definition so that it applies to a base table or view and retry the operation.

 

View synonyms in Oracle:

 

Create:

Create public synonym table_name for user. table_name;

Delete:

Drop public synonym table_name;

 

View all synonyms:

Select * From dba_synonyms;

View specific synonyms Based on the synonym Name:

Select * From dba_synonyms where synonym_name = 'searches ';

View specific synonyms Based on the table name:

Select * From dba_synonyms where table_name = 'searches ';

 

View the user's table:

Select table_name from user_tables;

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.