Re: Accessing another user's tables

From: <chadb_at_NeoSoft.com>
Date: 9 Jun 1994 17:08:09 GMT
Message-ID: <2t7i9p$iue_at_uuneo.neosoft.com>


In <16FCF10005.JTHILL_at_us.oracle.com>, jthill_at_us.oracle.com (Jim Hill) writes:
>
>In <1994Jun6.230724.23032_at_nova.wright.edu>, jmatthews_at_nova.wright.edu writes:
>>A user, scott, has some tables and some forms that manipulate
>>those tables. Another user, john, wants to run those forms.
>>After granting access to his tables to john (or public), I would
>>have thought that scott should refer to his tables (in his
>>form's code) as scott.tablename. Instead, a colleague suggested
>>using the unadorned tablename and creating (public) synonym(s)
>>for scott's tables.
>>
>>Any thoughts on which approach to prefer? Thanks.
>
>John can also create private synonyms for the tables:
>
>create synonym foo for scott.foo;
>
>and refer to the table as just 'foo'. If the tables migrate, a dba can
>do things like select * from all_synonyms where table_owner = 'SCOTT' to
>find all affected synonyms.
>
>Another possibility is to create a fake user (with e.g. a 0 space quota),
>and create the application synonyms there; then anyone who wants to use
>the application can specify application.view

How do you do this?? This is what I need....

>and the application developer
>can connect there and set up the synonyms. This has the advantage of not
>requiring a dba to track all the private synonyms (there shouldn't be any)
>and not requiring public synonyms on a database that has a lot of separately
>administered applications.
>
>Jim, off the top of his head

--
Chad Brockman            | 
VertiComp, Inc           | I'm just an OS/2 Junkie!!
chadb_at_NeoSoft.com        | "Come on kid, it's cheap!!"
Received on Thu Jun 09 1994 - 19:08:09 CEST

Original text of this message