17.00 - Example: Using LogOnOffV to Determine Which Users Were Forced Off the System - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

To find out which users have been forced off the system (using PM/API ABORT SESSION) in the past two days, enter the following:

SELECT DISTINCT UserName FROM DBC.LogOnOffV
   WHERE Event = ’Forced Off’
   AND LogDate > DATE - 3 ;