From RICHARD.T.CALE@saic.com Thu, 20 Sep 2001 04:13:26 -0700
From: "Cale, Rick T (Richard)" <RICHARD.T.CALE@saic.com>
Date: Thu, 20 Sep 2001 04:13:26 -0700
Subject: RE: How to find the current instance name?
Message-ID: <F001.00393607.20010920042018@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain


You probably want to do the following.  v$database.name is the database name
not the instance name. Although
most name the same but not required.

SELECT instance FROM v$thread;

Rick

-----Original Message-----
Sent: Thursday, September 20, 2001 6:55 AM
To: Multiple recipients of list ORACLE-L


List,

How to find the current instance name for the session?.

>From svrmgrl, i can using "SELECT name FROM v$database".

What is the equivalant from the ordinary user?

Regards
Nirmal.
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Nirmal Kumar  Muthu Kumaran
  INET: NIRMALK@qtel.com.qa

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@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: Cale, Rick T (Richard)
  INET: RICHARD.T.CALE@saic.com

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@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).


