Hi
If you whant the information in the session you can use the function
SYS_CONTEXT ('USERENV', attribute)
attribute := 'host' or 'ip_address' or some other of the 25 options
look in the Oracle8i SQL Reference
chapter 4
Ghadge,Sameer wrote:
Hi, my problem is as follows:I want do determine the machine name (and other info) from pl/sql,of theclient from which i have logged ine.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 sessionThxSameer
--
/regards
Peter Gram
Phone : +45 2527 7107
Fax : +45 4466 8856
Miracle A/S
Kratvej 2
2760 Målev
http://miracleas.dk
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Peter Gram
INET: peter.gram@miracleas.dk
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).
Received on Tue Feb 12 2002 - 05:46:06 CST