From: "Robert Wagner" <RobertWagner@alum.mit.edu>
Subject: Re: Synonyms are a pain!
Date: 2000/05/05
Message-ID: <qgEQ4.6076$J81.41652@newsr1.maine.rr.com>#1/1
References: <a4kQ4.5323$J81.40251@newsr1.maine.rr.com> <957469924.8355.0.pluto.d4ee154e@news.demon.nl>
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
X-Complaints-To: abuse@rr.com
X-Trace: newsr1.maine.rr.com 957550742 24.93.158.67 (Fri, 05 May 2000 14:19:02 EDT)
Organization: RoadRunner Portland, Maine
X-MSMail-Priority: Normal
NNTP-Posting-Date: Fri, 05 May 2000 14:19:02 EDT
Newsgroups: comp.databases.oracle.server


Sybrand:

I'm a little uncertain about private synonyms. I'd have to create a set for
each user, right? Then I'd have to grant the usual privileges (INSERT,
DELETE, UPDATE, DELETE) to each user.

If this is all correct, with 10-30 possible users, does it make any sense to
use private synonyms?

Thanks very much  >>> Robert

----- Original Message -----
From: "Sybrand Bakker" <postbus@sybrandb.demon.nl>
Newsgroups: comp.databases.oracle.server
Sent: Thursday, May 04, 2000 3:53 PM
Subject: Re: Synonyms are a pain!


"Sybrand Bakker" <postbus@sybrandb.demon.nl> wrote in message
news:957469924.8355.0.pluto.d4ee154e@news.demon.nl...
>
> Robert Wagner <RobertWagner@alum.mit.edu> schreef in berichtnieuws
> a4kQ4.5323$J81.40251@newsr1.maine.rr.com...
> > Here's what I understand now:
> >
> > In order to allow any user other than a schema owner to access a schema
> > object, it's necessary to create a synonym for each and every object or
 to
> > use the syntax
> >
> > schema_owner.object_name
> >
> > when referencing it. To make matters worse, the synonyms don't export
 with
> > the schema they reference, so they're a pain to ship to a new
 installation.
> >
> > Is there any simpler, more reliable way to allow a designated group of
 users
> > to access a schema's objects without using the above syntax?
> >
> >
> > Cheers  >>>>>>>>>>>> Robert R. Wagner
> > ExpanTest, Inc.
> > 22 Monument Square, Suite 503
> > Portland, ME 04101-4031
> > http://www.gwi.net/expantest/
> > robertwagner@alum.mit.edu
> >
> >
>
> The general and more reliable way is to write a script that simply
 generates
> synonyms for all objects you have been granted access to and you are set.
> You should use either private or public synonyms, using the
> owner.object_name notation makes you extreemly inflexible.
>
> Hth,
>
> Sybrand Bakker, Oracle DBA
>
>
>




