Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Finding SID of current session
V$mystat, to what would you join this to understand the
values/statistics, v$session_event?
George
You Have The Obligation to Inform One Honestly of the risk,
And As a Person You Are Committed to Educate Yourself to the Total Risk
In Any Activity!
Once Informed & Totally Aware of the Risk,
Every Fool Has the Right to Kill or Injure Themselves as They See Fit!
-----Original Message-----
Prem Khanna J
Sent: 02 December 2003 09:59 AM
To: Multiple recipients of list ORACLE-L
George,
u can get it from v$mystat.
REgards,
Jp.
02-12-2003 16:44:25, "George Leonard" <leonarge_at_vodacom.co.za> wrote:
>Hi there all.
>
>How can I find the sid of the current session,
>
>I got a pl/sql procedure that needs to do a select from v$session_event
>but only want to do it for it's own session so I need to know this for
>the where clause ?
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Prem Khanna J INET: jprem_at_kssnet.co.jp Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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). “This e-mail is sent on the Terms and Conditions that can be accessed by Clicking on this link http://www.vodacom.net/legal/email.asp " -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: George Leonard INET: leonarge_at_vodacom.co.za Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Dec 02 2003 - 02:09:35 CST