🔹 Join the OracleApps88 Telegram Group - Stay up to date with the latest on Oracle EBS R12 and Oracle Cloud/Fusion Applications. 📌 Telegram Group : https://t.me/OracleApps88

💡 Facing issues copying code/scripts or viewing posts? We're here to help!
📬 Contact on Telegram : https://t.me/apps88
📱 Telegram/WhatsApp: +91 905 957 4321
📧 Email Support: OracleApp88@Yahoo.com

Monday, September 19, 2011

Query for Checking the Number of USER Sessions

SELECT
(
SELECT Sysdate
FROM dual
),
(
SELECT 'USER sessions : '|| COUNT( DISTINCT session_id)
From Icx_Sessions Icx
Where Disabled_Flag != 'Y'
AND PSEUDO_FLAG = 'N'
AND
( Last_Connect + Decode(Fnd_Profile.Value('icx_Session_Timeout'), Null,
Limit_Time, 0,Limit_Time,Fnd_Profile.Value('icx_Session_Timeout')/60)/24
) > sysdate
And Counter < Limit_Connects
) How_many_user_sessions
FROM dual

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect