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 identify my session?

Re: How to identify my session?

From: Prabhakar Narayanan <prabhakar.narayanan_at_clsasia.com>
Date: Wed, 05 May 1999 17:01:11 +0800
Message-ID: <373008D7.39E76290@clsasia.com>


Hi

Issue the following statement to find out your session id

select userenv('sessionid') from dual

Regards

N.Prabhakar

Brahms Lin wrote:

> Hi,
>
> I would like to find some way to identify my Oracle app's session.
> I know there's a v$session, but don't know which is my current
> session. I'm trying to generate an unique table name. I think that
> can be done by prefixing the current session's id to the table name.
>
> Thanks.
>
> (Oracle 8.0.4 on NT workstation 4.0)


Received on Wed May 05 1999 - 04:01:11 CDT

Original text of this message

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