Sunday, October 28, 2007

List Users Connected to Oracle Database

col ip_address format a16

select username,osuser,terminal,
UTL_INADDR.get_host_address(substr(machine,instr(machine,'\')+1)) ip
from v$session
where username is not null order by username,osuser;
List Users Connected to Oracle DatabaseSocialTwist Tell-a-Friend

No comments:

Post a Comment