| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Re: Getting own session id
select sid, serial#
from v$session
where audsid = userenv('sessionid')
Hth,
Sybrand Bakker, Oracle DBA
Hello <hello_at_hello.world> schreef in berichtnieuws
8gmve6$97i$1_at_news.xmission.com...
> Is there any way to find out the session id or serial# for the current
> session, v$session is fine but I don't know of a way to identify the
current
> session itself, most of the times it is a lucky guess.
>
> Thanks
>
>
>
Received on Sat May 27 2000 - 00:00:00 CDT
![]() |
![]() |