Error code

Oracle ORA-00942

ORACLEORA-00942
Database Error Code· An error code returned by a database server such as PostgreSQL or MySQL.

What it means

table or view does not exist — the named object is not accessible.

How to fix it

  1. Verify the table name and schema with SELECT table_name FROM all_tables WHERE table_name='TABLE'.
  2. Grant SELECT privilege to the current user if the table exists in another schema.
  3. Prefix the table name with the schema owner (e.g. schema.table_name) to access it across schemas.

Not affiliated with Oracle. Answer summarized from the manufacturer's manual linked above; consult that source for the authoritative procedure.