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: Dave Leach <Dave.Leach_at_claybrook.co.uk>
Date: Wed, 22 Aug 2001 04:36:53 -0700
Message-ID: <F001.003739AD.20010822030025@fatcity.com>

Many thanks for all the replies on this,

it is indeed a documented parameter under the ALTER SESSION command. I can't believe I missed this bearing in mind the time I spent searching.

My sanity is restored for now!!

Dave Leach

-----Original Message-----
Sent: 22 August 2001 11:32
To: Multiple recipients of list ORACLE-L

Dave,

You can use the following :

alter session set current_schema = USERB

Check out the SQL Reference manual - Chapter 7 SQL Statements, ALTER SESSION
(page 387)

HTH Mark

-----Original Message-----
Sent: Wednesday, August 22, 2001 11:02
To: Multiple recipients of list ORACLE-L

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: Mark Leith INET: mark_at_cool-tools.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: 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).
Received on Wed Aug 22 2001 - 06:36:53 CDT

Original text of this message

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