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-----
From: Miller, Jay [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 1:46 AM
To: Multiple recipients of list ORACLE-L
Subject: RE: conversion from public to private synonym
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).