Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Public synonyms
Andry,
Check in all_objects.
Look for owner, object_type while supplying the object_name (some_table).
Or if you know it is a synonym, then query all_synonyms supplying the synonym_name (some_table) to see what table and table owner it is set up for and who owns it.
HTH, Regards,
> -----Original Message-----
> From: Andrey Bronfin [SMTP:Andreyb_at_maxbill.com]
> Sent: Sunday, June 24, 2001 9:10 AM
> To: Multiple recipients of list ORACLE-L
> Subject: Public synonyms
>
> Dear all !
> I have an empty schema named AAA .
> select * from obj returns 0 rows .
> When i do select * from some_table , rows are returned .
> I guess that some_table is a public synonym .
> How can i verify it ?
> How can i see in which schema is it defined ?
>
> Thanks a lot !
> Andrey.
>
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Deshpande, Kirti INET: kirti.deshpande_at_verizon.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).Received on Sun Jun 24 2001 - 10:23:05 CDT