How to find session Id [message #50003] |
Fri, 22 February 2002 09:53 |
Ravi
Messages: 251 Registered: June 1998
|
Senior Member |
|
|
How I can find my current session using SQL statement. I need to read the session that I am currently using for this SQL.
Thanks
|
|
|
Re: How to find session Id [message #50005 is a reply to message #50003] |
Fri, 22 February 2002 09:56 |
saleem
Messages: 65 Registered: January 2002
|
Member |
|
|
select username, osuser, sid, serial#, program
from v$session
this will show you all the sessions active on the db and then you can figure out from there which one is you.
|
|
|
|