Q
Problem solve Get help with specific problems with your technologies, process and projects.

Changing synonym of base table

How can I change the synonym of a base table? I am getting the error code "ORA-00980: synonym translation is no longer valid."

How can I change the synonym of a base table? I am getting the error code "ORA-00980: synonym translation is no longer valid."
There is no ALTER SYNONYM command in Oracle. So you will have to drop the synonym and create it anew:
DROP SYNONYM my_syn;
CREATE SYNONYM my_syn FOR my_table;

Dig Deeper on Oracle database backup and recovery

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close