Saturday, August 6, 2011

How many users are connected to Oracle Applications

select distinct
fu.user_name User_Name,
fr.RESPONSIBILITY_KEY Responsibility
from
fnd_user fu,
fnd_responsibility fr,
icx_sessions ic
where 1=1
AND fu.user_id = ic.user_id
AND fr.responsibility_id = ic.responsibility_id
AND ic.disabled_flag='N'
AND ic.responsibility_id is not null
AND ic.last_connect like sysdate;

No comments:

Post a Comment

Best Blogger TipsGet Flower Effect