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: Users & Schema's

Re: Users & Schema's

From: Jonathan Lewis <jonathan_at_jlcomp.demon.co.uk>
Date: Wed, 22 Aug 2001 02:45:08 -0700
Message-ID: <F001.0037396D.20010822024557@fatcity.com>

You may be thinking of the 'proxy user' feature:

    alter user xxx grant connect through yyy with role rrr; However, the features that this enables are currently available only through OCI programming at present.

The other thing you may be thinking of is

    alter session set current_schema = XXX; which you can embed into a database logon trigger using 'execute immediate'

Jonathan Lewis

Host to The Co-Operative Oracle Users' FAQ http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Author of:
Practical Oracle 8i: Building Efficient Databases See http://www.jlcomp.demon.co.uk/book_rev.html

For latest news of public appearances
See http://www.jlcomp.demon.co.uk

Screen saver or Life saver: http://www.ud.com Use spare CPU to assist in cancer research.

-----Original Message-----
To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> Date: 22 August 2001 10:25

|Help!!,
|
|Can anyone shed some light on this or am I just going mad!!.
|
|We have a situation whereby multiple users need to access (both
selects and
|dml) tables belonging to 1 specific schema, this must also be
achieved
|without prefixing the tables with the userid as the SQL is driven by
the
|application and is not configurable.
|
|My original idea was to use synonyms but I am sure that I have read
|somewhere that in 8i there was an alternative to this whereby a user
can be
|set up to use another users schema eg. USERA when logged on will
effectively
|be treated as if they are logged on as USERB. I have searched every
bit of
|documentation I can find (manuals, metalink etc) but can find no
mention of
|this, have I just dreamn't this or can someone shed some light.
|
|Many thanks for any replies.
|
|Dave Leach
|
|
|*********************************************************************
*
|The above information is confidential to the addressee and may be
|privileged. Unauthorised access and use is prohibited.
|
|Internet communications are not secure and therefore this Company
does
|not accept legal responsibility for the contents of this message.
|
|If you are not the intended recipient, any disclosure, copying,
|distribution or any action taken or omitted to be taken in reliance
on
|it, is prohibited and may be unlawful.
|
|Claybrook Computing Limited is a subsidiary of
|Claybrook Computing (Holdings) Limited
|Registered Office: Abbey House. 282 Farnborough Road, Farnborough,
|Hampshire GU14 7NJ
|Registered in England and Wales No 1287205
|
|A Hogg Robinson plc company
|*********************************************************************
*
|--
|Please see the official ORACLE-L FAQ: http://www.orafaq.com
|--
|Author: Dave Leach
| INET: Dave.Leach_at_claybrook.co.uk
|
|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: Jonathan Lewis
  INET: jonathan_at_jlcomp.demon.co.uk

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 22 2001 - 04:45:08 CDT

Original text of this message

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