Friday, January 22, 2016

ORA-00980: synonym translation is no longer valid


select * 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);

No comments:

Post a Comment

Followers