ORA-00942: table or view does not exist

Hi,

I got ” ORA-00942: table or view does not exist ” error in Oracle.

 

Details of error are as follows.

ORA-00942: table or view does not exist 

 

 

This error is related with the existing of table, check if the related table exists or not using the following script.

SELECT * FROM all_objects
WHERE object_type IN ('TABLE','VIEW')
AND object_name = 'OBJECT_NAME';

 

Mostly ORA-00942 error is seen because of incorrect spelling of the table or view name.

Sometimes you may get ORA-00942 error because of Using an unauthorized synonym or missing synonym name.  Check the synonym name using the following script.

SELECT * FROM DBA_SYNONYM
WHERE SYNONYM_NAME = 'SYNONYM_NAME';

 

Or You may don’t have proper permission or privilege for the related table or view.

 

Sometimes you may get ORA-00942 error because of the incorrect schema name. So check Schema name if it is correct or not.

 

 

Do you want to learn Oracle SQL, then read the following articles.

Oracle SQL Tutorials For Beginners – Learn Oracle SQL from scratch with Oracle SQL Online Course

 

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 *