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

Home -> Community -> Usenet -> c.d.o.server -> Re: how to drop a user's private database link from system?

Re: how to drop a user's private database link from system?

From: Stephane faroult <sfaroult_at_oriolecorp.com>
Date: Fri, 03 Sep 1999 01:36:48 -0700
Message-ID: <37CF88A0.55B@oriolecorp.com>


Hop Pham wrote:
>
> Can the system id drop a user's private database link without logging in as
> the actual user? Thanks.
>
> Hop Pham
> pham_hop_at_bah.com

You can't, even when you are SYS. Database links are the only type of user 'objects' which cannot be prefixed by the owner's name. You cannot even successfully recompile a procedure which references a private database link when you are not the owner. What you can do, however, is connect as the user without knowing his/her password nor resetting it when you're a DBA. Check the (free) become.sql script on our site, it's quite useful for this, as well as giving grants to a third party or renaming the table of somebody else (rename scott.dept to scott.dept2 doesn't work - at least with Oracle7, I have not tried it on Oracle8).
--
Regards,

  Stéphane Faroult
  Oriole Corporation
  Performance Tools & Free Scripts



http://www.oriolecorp.com, designed by Oracle DBAs for Oracle DBAs
Received on Fri Sep 03 1999 - 03:36:48 CDT

Original text of this message

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