Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How can I get this info?
select sid, serial#
from v$session
where audsid = userenv('sessionid')
Hth,
--
Sybrand Bakker, Oracle DBA
<kshave_at_health.gov.mb.ca> wrote in message
news:823v3u$s7t$1_at_nnrp1.deja.com...
> Is it possible to figure out what your current session id is? I know
> it is listed in v$session, but if you are logged in several times then
> there is no definite way to distinguish between the sessions.
>
> Any ideas?
>
> --
> -Keith
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Wed Dec 01 1999 - 16:47:15 CST
![]() |
![]() |