I am trying to create a procedure with a select statement. It is trying to access a public synonym, which is actually pointing to remote view.
I have the proper privileges to select data from the said view. The query written in the PL/SQL block works fine at the SQL prompt, but I am getting an error:
ORA -980 Synonym translation no longer valid.
Kindly suggest what the problem is.
Ask your DBA to grant you select on the view with grant option and see if you continue to have the problem. Let me know how you make out. Also, see if the public synonym is pointing to the right table. Could it be that you have a local synonym that is no longer valid?
Dig Deeper on Using Oracle PL-SQL
Related Q&A from Azim Fahmi
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.