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: Identifying session (7.1.6)

Re: Identifying session (7.1.6)

From: John Hough <q6y_at_ornl.gov>
Date: 1997/03/06
Message-ID: <331F1667.5D9A@ornl.gov>#1/1

Veijo Länsikunnas wrote:
>
> Hello,
>
> Does anybody have ideas how to identify the current session?
> I have a need to occationally know the name of the OS-user of
> the current session, and I haven' found out any way to do this.
> Any idea?
>
> //Veijo

select * from v$session where audsid = userenv('SESSIONID');

should do the trick.

Hope this helps,

John Hough Received on Thu Mar 06 1997 - 00:00:00 CST

Original text of this message

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