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!

ORA-980 SYNONYM TRANSLATION IS NO LONGER VALID

375214Apr 26 2005
Hi ALL,

I have imported the data into two Oracle92 databases from Oracle92. All the imports went well but one of the database is giving me a error while accessing it from OEM ORA-980 SYNONYM TRANSLATION IS NO LONGER VALID when try to access any of the schema.


I cannot find where is the problem. I ran the following script on both the databases and its coming up with the same number of records. One of the database I am getting the error and the other one is running fine and shows no errors.

select count (*) from (select 'drop '||decode (s.owner,'PUBLIC','PUBLIC SYNONYM ',
'SYNONYM'||s.owner||'.')||s.synonym_name||';'
from dba_synonyms s
where table_owner not in('SYSTEM','SYS')
and db_link is null
and not exists
(select 1
from dba_objects o
where s.table_owner=o.owner
and s.table_name=o.object_name) );

Any idea ???

Regards,



Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 24 2005
Added on Apr 26 2005
0 comments
383 views