Quantcast
Channel: PTC Community: Message List
Viewing all articles
Browse latest Browse all 12262

Re: DOES ANYONE KNOWS QUERY TO CHECK LAST LOGIN OF A USER(INACTIVE).

$
0
0

...which of course can easily be turned into

select * from auditrecord where idb5 in (select ida2a2 from wtuser where name like '%ben.perry%')

so that only 1 query needs to be executed instead of 2.

 

But the problem with these 2 methods are that:

  • It includes all EVENTLABELs (Login, Logout, Context Logon, others?)
  • It includes all times (21,396 rows for my username), not just the most recent

Viewing all articles
Browse latest Browse all 12262

Trending Articles



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