Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: how to get serial# of current session or OS user_name
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 CorpReceived on Sun Apr 21 2002 - 15:18:07 CDT