ORA-01434: private synonym to be dropped does not exist

Hi,

Sometimes You can get ”  ORA-01434: private synonym to be dropped does not exist ” error.

 

Details of error are as follows.

ORA-01434: private synonym to be dropped does not exist 

SQL> drop synonym ASH;
drop synonym ASH
             *
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist

 

 

This error is related with the Private synonym that does not exist, or this synonym may be Public.

Check if it is public or not.

SELECT *
FROM all_synonyms
WHERE owner <> 'PUBLIC';

SELECT *
FROM all_synonyms
WHERE owner = 'PUBLIC';


You can check it from its name also.

SELECT *
FROM all_synonyms
WHERE owner = 'PUBLIC'
AND synonym_name = 'SYNONYM_NAME';

 

If this Synonym is public, then drop it as follows.

SQL> DROP PUBLIC SYNONYM ASH;

Synonym dropped.

SQL>

 

You can drop private synonym as follows.

SQL> drop synonym MEHMET.TABLES;

Synonym dropped.

SQL>

 

Do you want to learn more details about Synonym, then read the following post.

Create and Drop Synonym Tips in Oracle with Examples

 

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

Leave a Reply

Your email address will not be published. Required fields are marked *