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

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
muh1623078990997.ditamap
dita:ditavalPath
muh1623078990997.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantage™

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 ;