ora-00980:synonym translation is no longer valid

Source: Internet
Author: User

The problem is that the synonym is invalid because it is queried by the table's synonym, and this table cannot be found, so the synonym is invalid.

Analyze the reason, when we create synonyms, the system will not detect the existence of the original table. However, this error occurs when you manipulate the table with this synonym.

Problem possibility:

1. Whether the current schema has permission to use the synonym

2. Does the table exist

Ask Tom:

that error  simply means "synonym is Still here, but the object it points to is inaccessible ".  it  could are in Accessible due to a missing grant, or due to the object not being there. you need to find out what synonym it was, query the data dictionary to figure out what  ; object it points to and figure out why you no longer has access to that object.

[email protected]> create synonym s for t;

Synonym created.


[Email protected]> select * from S where rownum = 1;

C

----------

1

[Email protected]> drop table t;

Table dropped.

[Email protected]> select * from S where rownum = 1;

SELECT * from S where rownum = 1


ERROR at line 1:

ora-00980:synonym translation is no longer valid


ora-00980:synonym translation is no longer valid

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.