Quantcast
Channel: Quality Center / ALM Practitioners Forum topics
Viewing all articles
Browse latest Browse all 5491

How To: Who's really using ALM/QC?

$
0
0

Issue: In a med/large environment you may have thousands of named users and dozens or hundreds of project databases/schemas.  As time goes on, how do you determine who is actually doing something in the tool?

 

This example SQL will return all users that have logged into ANY project and done SOMETHING since 1 January, 2014, returning their User Name, Email and Full Name

 

SELECT User_name, EMAIL, FULL_NAME, from QCSITEADMIN_DB.USERS WHERE EXISTS (
  Select NULL
  From QCSITEADMIN_DB.SESSIONS_HISTORY
  WHERE QCSITEADMIN_DB.SESSIONS_HISTORY.USER_NAME = QCSITEADMIN_DB.USERS.USER_NAME
  AND QCSITEADMIN_DB.SESSIONS_HISTORY.END_TIME > '01-JAN-14')
  order by USER_NAME

 

 

To find the "slackers" for the same period of time:

 

SELECT User_name, EMAIL, FULL_NAME from QCSITEADMIN_DB.USERS WHERE NOT EXISTS (
  Select NULL
  From QCSITEADMIN_DB.SESSIONS_HISTORY
  WHERE QCSITEADMIN_DB.SESSIONS_HISTORY.USER_NAME = QCSITEADMIN_DB.USERS.USER_NAME
  AND QCSITEADMIN_DB.SESSIONS_HISTORY.END_TIME > '01-JAN-14')
  order by USER_NAME

 

 


Viewing all articles
Browse latest Browse all 5491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>