Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Getting current instance name with a select ?

Getting current instance name with a select ?

From: Christian BIERO <cbiero_at_gold-solutions.com>
Date: Thu, 19 Sep 2002 12:48:48 +0200
Message-ID: <amca31$i17$1@news2.isdnet.net>

Hello,

Is there a way to get the currently connected instance, using a select ?

Something like : SELECT USER FROM DUAL;

V_$ACTIVE_INSTANCES is empty.
There's the table V$INSTANCE. I got the good information in INSTANCE_NAME but could this table have several records ?

Any help would be appreciated.

Thanks

Christian Received on Thu Sep 19 2002 - 05:48:48 CDT

Original text of this message

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