Home » RDBMS Server » Server Administration » Session ID
Session ID [message #369764] Thu, 05 October 2000 17:00 Go to next message
Luis Gabriel
Messages: 11
Registered: October 2000
Junior Member
Hi,

I am trying to do a trigger, who write's to a table information about my actually session, I query the table v$session but if I have two sessions it returns me two rows.
¿Somebody knows how can I get my session ID?

Thanks.
Re: Session ID [message #369768 is a reply to message #369764] Fri, 06 October 2000 02:32 Go to previous message
Prem
Messages: 79
Registered: August 1998
Member
Luis,

use this select to get your current session id

select userenv('SESSIONID') from dual;

hth

Prem :)
Previous Topic: About Bfile
Next Topic: About Bfile
Goto Forum:
  


Current Time: Wed Apr 24 23:00:20 CDT 2024