Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: conversion from public to private synonym

RE: conversion from public to private synonym

From: Amar Kumar Padhi <TS2017_at_emirates.com>
Date: Wed, 29 Aug 2001 05:22:59 -0700
Message-ID: <F001.0037AE08.20010829051617@fatcity.com>

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:JayMiller_at_TDWaterhouse.com] 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: oracledbam_at_hotmail.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)
-- 
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: teci_at_the-testas.net


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).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Miller, Jay
  INET: JayMiller_at_TDWaterhouse.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 Wed Aug 29 2001 - 07:22:59 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US