Home / Oracle Errors / ORA-00942

ORA-00942

Table or view does not exist

What it means

Oracle cannot find the object you named, or your user has no permission to see it.

Common causes

How to fix it

  1. Use the owner prefix: SELECT * FROM owner.table_name;
  2. Check it exists: SELECT owner,object_name FROM dba_objects WHERE object_name='<NAME>';
  3. Grant access: GRANT SELECT ON owner.table_name TO <user>;
  4. In a multitenant database, confirm you are in the right container: SHOW CON_NAME

How to prevent it

Use synonyms and roles for shared objects.

Still stuck? Ask the community in Q&A.

Get the weekly Vismo digestNew Oracle articles and Q&A in your inbox. No spam.

One email a week. Unsubscribe any time.