15.10 - Determining Contents of the DBC.SW_Event_Log - Teradata Database

Teradata Database SystemFE Macros

prodname
Teradata Database
vrm_release
15.00
15.10
category
Administration
featnum
B035-1103-015K

Determining Contents of the DBC.SW_Event_Log

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.