Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from puck1183.startdedicated.com (localhost [127.0.0.1])
 by puck1183.startdedicated.com (Postfix) with ESMTP id 6E0541960619
 for <oracle-l@orafaq.com>; Thu, 12 Dec 2013 20:56:15 +0100 (CET)
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by puck1183.startdedicated.com (Postfix) with ESMTP
 for <oracle-l@orafaq.com>; Thu, 12 Dec 2013 20:56:15 +0100 (CET)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id A208127726;
 Thu, 12 Dec 2013 14:56:14 -0500 (EST)
Authentication-Results: turing.freelists.org; dkim=fail
 (verification failed; insecure key) header.i=@gmail.com;
 dkim-adsp=none (insecure policy)
X-Virus-Scanned: Debian amavisd-new at turing.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 3kdLR1xmcQcK; Thu, 12 Dec 2013 14:56:14 -0500 (EST)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 687902770B;
 Thu, 12 Dec 2013 14:55:33 -0500 (EST)
Received: with ECARTIS (v1.0.0; list oracle-l); Thu, 12 Dec 2013 14:54:52 -0500 (EST)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 5044B276F2
 for <oracle-l@freelists.org>; Thu, 12 Dec 2013 14:54:52 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id QIC3ocfPfbFb for <oracle-l@freelists.org>;
 Thu, 12 Dec 2013 14:54:52 -0500 (EST)
Received: from mail-pb0-f52.google.com (mail-pb0-f52.google.com [209.85.160.52])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 13905276E1
 for <oracle-l@freelists.org>; Thu, 12 Dec 2013 14:54:51 -0500 (EST)
Received: by mail-pb0-f52.google.com with SMTP id uo5so1114523pbc.11
        for <oracle-l@freelists.org>; Thu, 12 Dec 2013 11:54:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=mime-version:in-reply-to:references:date:message-id:subject:from:to
         :cc:content-type;
        bh=eHRBIKrfSGMQR8tIan2V21nyr33rGOcSil22X4WOsGQ=;
        b=R8BGWiM4pXN/MTf2n/9RKhkX6knAFmPF8vV+g9K+GHbyPkdZUExINoV9kjUbwj9Oi4
         ZyythddtwaZxZfeq0d/ozM3/bwxNNLEw0C9AcfEBvomWcrJU29rlctyqOq1u+RReWwyD
         J8lR4ExkQyyhL1UcyIqUz9soLj9MmIFKjDe4DK0MxlQiqwmoKlCnolOQx42zNIuPWwTc
         DBRtezdvs+tg032F8u3n13DcDL8FwLTyS8mHrw8XSkNWPlpTkSrD3MtvyJt+jlnrq9hU
         94dcii5q4xlSmpqgxrpGwWEpDsvzHN3XdikVqwaB6GIcpqRcSBAJno459zCGFTLANTtT
         jNVQ==
MIME-Version: 1.0
X-Received: by 10.68.189.165 with SMTP id gj5mr15041200pbc.111.1386878091305;
 Thu, 12 Dec 2013 11:54:51 -0800 (PST)
Received: by 10.70.52.163 with HTTP; Thu, 12 Dec 2013 11:54:51 -0800 (PST)
In-Reply-To: <52A8F55B.9010308@comcast.net>
References: <20131210060515.6A674268E5@turing.freelists.org>
 <52A8F55B.9010308@comcast.net>
Date: Thu, 12 Dec 2013 14:54:51 -0500
Message-ID: <CAGurbTMJHM_w+MtuNttU_9isaYTxDx8p2h8TQyFYwwE-T=ZKHA@mail.gmail.com>
Subject: Re: Private Synonyms
From: rjamya <rjamya@gmail.com>
To: rjgoulet@comcast.net
Cc: Oracle-List <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary=e89a8ff1c748faa8c104ed5bb742
X-archive-position: 51834
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: rjamya@gmail.com
Precedence: normal
Reply-To: rjamya@gmail.com
List-help: <mailto:ecartis@freelists.org?Subject=help>
List-unsubscribe: <oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-subscribe: <oracle-l-request@freelists.org?Subject=subscribe>
List-owner: <mailto:steve.adams@ixora.com.au>
List-post: <mailto:oracle-l@freelists.org>
List-archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--e89a8ff1c748faa8c104ed5bb742
Content-Type: text/plain; charset=ISO-8859-1

I ran dbms_utility.name_resolve as user2 and passed in 'USER1.EMP' as a
parameter, oracle did come back pointing to owner as 'SCOTT' and table name
as 'EMP'. So based on privileges, it did figure out the correct object_name
underneath.

in my case I had my id own the table, user1 and user2 were created, user1
had a synonym emp_new pointing to emp. oracle came back resolving
user1.emp_new to emp table in my schema.

Raj

--e89a8ff1c748faa8c104ed5bb742
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I ran dbms_utility.name_resolve as user2 and passed in &#3=
9;USER1.EMP&#39; as a parameter, oracle did come back pointing to owner as =
&#39;SCOTT&#39; and table name as &#39;EMP&#39;. So based on privileges, it=
 did figure out the correct object_name underneath.<div>
<br></div><div>in my case I had my id own the table, user1 and user2 were c=
reated, user1 had a synonym emp_new pointing to emp. oracle came back resol=
ving user1.emp_new to emp table in my schema.<br><div><br></div><div>Raj</d=
iv>
<div class=3D"gmail_extra"><br></div></div></div>

--e89a8ff1c748faa8c104ed5bb742--
--
http://www.freelists.org/webpage/oracle-l


