16.20 - Determining Contents of the DBC.SW_Event_Log - Teradata Vantage NewSQL Engine

Teradata Vantageā„¢ SystemFE Macros

prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
created_date
March 2019
category
Administration
featnum
B035-1103-162K

To determine if data exists in the DBC.SW_Event_Log, execute the following SQL statement:

Select Count(*), Min(TheDate), Max(TheDate) From DBC.Software_Event_Log;

This returns a single row containing a count of events, the date of the earliest event, and the date of the most recent event. The count will be zero and the dates will be NULL if there are no events in the log.