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: V_$SESSION question

Re: V_$SESSION question

From: Stephane Faroult <sfaroult_at_oriole.com>
Date: Tue, 12 Feb 2002 03:09:35 -0800
Message-ID: <F001.0040C6A2.20020212025319@fatcity.com>

"Ghadge,Sameer" wrote:
>
> Hi,
> my problem is as follows:
> I want do determine the machine name (and other info) from pl/sql,of the
> client from which i have logged in
> e.g. suppose i have logged from machine 'power_machine' as user 'puser'
> my pl/sql has info. that the current user 'puser'
>
> How do i retrive my sid for this session,
> which is in V_$SESSION.
>
> so basically i want the SID of the current session
> Thx
> Sameer
>

where audsid = sys_context('USERENV', 'SESSIONID')

-- 
Regards,

Stephane Faroult
Oriole Ltd
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Stephane Faroult
  INET: sfaroult_at_oriole.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_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 Tue Feb 12 2002 - 05:09:35 CST

Original text of this message

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