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: how to verify current_schema?

Re: how to verify current_schema?

From: biti_rainy <biti_rainy_at_itpub.net>
Date: 13 May 2004 01:07:12 -0000
Message-Id: <20040513004944.ECD6672D097@turing.freelists.org>


hi,ryan.gaffuri

  Connected to:
Oracle9i Enterprise Edition Release 9.2.0.3.0 - Production JServer Release 9.2.0.3.0 - Production

alibaba_at_OCN>select sys_context('userenv','current_schema') from dual;

SYS_CONTEXT('USERENV','CURRENT_SCHEMA')



ALIBABA alibaba_at_OCN>alter session set current_schema = "SYSTEM";

Session altered.

alibaba_at_OCN>select sys_context('userenv','current_schema') from dual;

SYS_CONTEXT('USERENV','CURRENT_SCHEMA')



SYSTEM alibaba_at_OCN>

Best regards

yahoo id: feng_chunpei
A new dba from china

        



----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed May 12 2004 - 20:02:02 CDT

Original text of this message

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