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

Home -> Community -> Usenet -> c.d.o.server -> Re: What's the V$SESSION query to locate your specific session?

Re: What's the V$SESSION query to locate your specific session?

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: 20 Oct 2003 20:19:54 GMT
Message-ID: <bn1g1a$s7ooh$1@ID-82536.news.uni-berlin.de>

> Hi, and thanks in advance.
> How can I tell what row in V$SESSIONS corresponds to my
> current connection?
> I would like to make several concurrent connections to the DBMS,
> using the same user/password, from the same application, and I would
> like to retain info that identifies these connections at the DBMS, so if
> one connection is closed, another connection can know exactly which
> one of my application connections went away by querying the DBMS.

Yet another possiblity, if dbms_support is installed:

select * from v$session where sid=sys.dbms_support.mysid;

Rene

-- 
  Rene Nyffenegger
  http://www.adp-gmbh.ch
Received on Mon Oct 20 2003 - 15:19:54 CDT

Original text of this message

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