Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: ??? object visibility
My guess would be that you are actually looking at a synonym (or view)
called associate.
The table name that the synonym (or view) is referencing is probably
not called associate, hence the non-existence error when trying to truncate
the table called associate. Run the following query to verify ...
select synonym_name, table_name from user_synonyms where synonym_name
like 'ASSOCIATE';
Glen
Janet Linsy wrote:
Hi all,
I got a table, when I do desc, delete, it works, but
when I do truncate, I got error "table or view does
not exist". Any idea?
SQL> desc associate --> can see the table
SQL> select count(*) from associate; --> works
1
SQL> truncate table associate; --> got error below
truncate table associate
*
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> SQL> delete associate; --> works
SQL>
Thanks
Janet
--
Glen Mitchell NZ Phone: +64 9 3730400Energy Research Lab URL: http://www.peace.com
Peace Software Email: glen.mitchell_at_peace.comReceived on Tue May 08 2001 - 20:20:06 CDT