Topic: User Administration >> Current SID of the user
|
Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property.
You may review the entire Oracle Certification Program Candidate Agreement online Here.
|
|
|
|
| Title: Current SID of the user |
| vitthalm |
Posted: Feb 26, 2003 10:37:00 AM |
Total Post: 4
Joined: Jan, 2003
|
Hi ALL,
How can I check the current SID of the user? I need 'SID,SERIAL#' of the current user session. I have more then one session connected for the same user.
Thanks in advance.
Shaju.
|
|
|
Sabari Nath |
| Posted: Feb 27, 2003 10:55:00 PM | |
|
Total Post: 16
Joined: Jan, 2003
|
You can check session id from the following query.
SQL> SELECT USERENV('SESSIONID') FROM DUAL;
Vasu.
|
|
|
|
|
naivedya |
| Posted: Apr 08, 2004 05:58:58 AM | |
|
Total Post: 14
Joined: Jan, 2003
|
you can use the following query to find out the sid,serial# & terminal of a user. It will list all the connections a user makes from any machine.
select username,sid,serial#,terminal,status
from v$session;
rgds
Naivedya
|
|
|
|
|
positive |
| Posted: Jun 29, 2008 03:33:07 PM | |
|
Total Post: 361
Joined: Jun, 2008
|
http://neworacledba.blogspot.com/
SYS_CONTEXT() can be used
|
|
|
|
|
| Time Zone: EDT |
Send this thread to your friend |
|
|
|
|
Forum Rules & Description
Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user
|
| |
Get FREE Magazines
|
Top 10 Forum User
|
| Murtuja Khokhar | 814 |
| Mohammed Taj | 694 |
| Jayanta Sur | 479 |
| Vigyan Kaushik | 386 |
| positive fanatic | 361 |
| Gitesh Trivedi | 322 |
| Gopu Gopi | 239 |
| neeraj sharma | 228 |
| Ramesh Jois | 226 |
| snehalatha p | 169 |
|
|