Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: how to get serial# of current session or OS user_name

Re: how to get serial# of current session or OS user_name

From: Thomas Kyte <tkyte_at_oracle.com>
Date: 21 Apr 2002 13:18:07 -0700
Message-ID: <a9v6pv0t9q@drn.newsguy.com>


In article <a9v4m4$jj0$1_at_news.tpi.pl>, "Blaze" says...
>
>Hi!
>I'm trying to get a serial# or OS user name of current session.
>Thanks in advance for help
>Blaze
>
>

select * from v$session where sid = ( select sid from v$mystat where rownum=1 );

--
Thomas Kyte (tkyte@oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Sun Apr 21 2002 - 15:18:07 CDT

Original text of this message

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