This error will more than likely appear while running a script in SQLPlus or in a log file.
ORA-00942 indicates that an object does not exist, which is the result of one of two conditions:
1) the specified object really does not exist,
2) the object was created and is owned by another Oracle user; a user different from the one you used to attempt to access the object.
1) Find and use the account that owns the object.
SQL> connect sys as sysdba
SQL> select count(*) from message;select count(*) from message
SQL> connect protect
*
ERROR at line 1:
ORA-00942: table or view does not existSQL> select count(*) from message;
COUNT(*)
----------
1
2) Explicitly name the owner and object:
SQL> connect sys as sysdba
SQL> select count(*) from message;select count(*) from message
SQL> select count(*) from PROTECT.message;
*
ERROR at line 1:
ORA-00942: table or view does not existCOUNT(*)
----------
1