/* Formatted on 2018/3/15 12:58:37 (QP5 v5.256.13226.35538) */

SELECT 'Number of user sessions : ' || COUNT (DISTINCT session_id) How_many_user_sessions

  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;

相关文章:

  • 2022-12-23
  • 2021-07-08
  • 2021-08-10
  • 2021-12-21
  • 2021-10-19
  • 2022-01-15
  • 2022-01-19
  • 2021-06-12
猜你喜欢
  • 2021-04-09
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
  • 2021-09-17
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案