a private synonym can certainly have the same name as the object does.
Unless you mean that the same user owns the object AND the synonym. But in
that case, why would you want a synonym.
In fact, I used to set up test environments this way. One schema owned the
objects. I created public synonyms for those objects. The developers could
create copies of those tables and grant access to each other (if several
where working on the same project). Each developer would have his/her own
private synonym that pointed to the other developer's object. When testing
was done, we did not have to recode to get the correct table names in.
>From: Amar Kumar Padhi <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
>Subject: RE: conversion from public to private synonym
>Date: Wed, 29 Aug 2001 05:16:18 -0800
>
>A private synonym cannot have the same name as the object. You will have to
>change dependent code if your public synonym name was same as the object
>name.
>
>rgds
>amar
>
>-----Original Message-----
>Sent: Wednesday, August 29, 2001 1:46 AM
>To: Multiple recipients of list ORACLE-L
>
>
>Actually, it's even easier. You can create the private synonym (which will
>then take precedence over the public synonym when logged in as the synonym
>owner) and then drop the public synonym. Users wouldn't even notice any
>change.
>
>Jay Miller
>
>-----Original Message-----
>Sent: Tuesday, August 28, 2001 5:18 PM
>To: Multiple recipients of list ORACLE-L
>
>
>THE FOLLOWING IS A JOKE, KIDDIES, DONT TRY THIS AT HOME(OR WORK)
>
>update sys.syn$ set type = 'PRIVATE' where name = 'SYNONYM NAME';
>
>
>you can't u must drop and recreate.
>
>joe
>Seema Singh wrote:
> >
> > Hi
> > how to change from public synonym to private synonym without droping the
> > synonym?
> > thanks
> > -Seema
> >
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at
>http://explorer.msn.com/intl.asp
> >
> > --
> > Please see the official ORACLE-L FAQ: http://www.orafaq.com
> > --
> > Author: Seema Singh
> > INET: [EMAIL PROTECTED]
> >
> > 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: [EMAIL PROTECTED] (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)
>
>--
>Joe Testa
>Performing Remote DBA Services, need some backup DBA support?
>For Sale: Oracle-dba.com domain, its not going cheap but feel free to
>ask :)
>IM: n8xcthome or joen8xct
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Joe Testa
> INET: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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).
>--
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>--
>Author: Miller, Jay
> INET: [EMAIL PROTECTED]
>
>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: [EMAIL PROTECTED] (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).
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).