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

Home -> Community -> Usenet -> c.d.o.misc -> Re: How to capture Session ID?

Re: How to capture Session ID?

From: Oyvind S. Roed <oroed_at_azstarnet.com>
Date: Wed, 4 Aug 1999 09:25:25 -0700
Message-ID: <rqgq78gr15u7cq6@news.supernews.com>


Hi there...

Try the following:

select userenv('SESSIONID') from dual;

This should give you the sessionid. I've used userenv('SESSIONID') in PL/SQL myself and it works just fine.

Regards
$Oyvind

jane604_at_my-deja.com wrote in message <7o9jnb$f5d$1_at_nnrp1.deja.com>...
>Does anyone know how to capture the sessionid from Oracle? Is there
>any way to use PL/SQL?
>Someone suggested to me to try termenv, but I can't find any
>documentation on it.
>Thanks!!!!
>
>
>Sent via Deja.com http://www.deja.com/
>Share what you know. Learn what you don't.
Received on Wed Aug 04 1999 - 11:25:25 CDT

Original text of this message

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