/
Query to see active sessions in Enterprise ERP

Query to see active sessions in Enterprise ERP

Description of Issue

Client wants to see a list of users that have open sessions in Enterprise ERP

Context
  • Enterprise ERP any version

  • Tyler Reporting Services

  • SaaS, OnPrem hosted clients

  • System Audit

Cause

Client wants to report on active sessions outside of the Diagnostic Utility 

Resolution

The following sample SQL query will give you who is currently logged into ERP with an active window:

SELECT *  
FROM sp_activity_log 
WHERE
CAST(al_start_date AS DATE) =CAST(GETDATE() AS DATE)
AND al_end_date  is NULL 
 

Additional Information