Contents of the DBC.SW_Event_Log | SystemFE Macros | Teradata Vantage - Determining Contents of the DBC.SW_Event_Log - Advanced SQL Engine - Teradata Database

SystemFE Macros

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
17.00
Published
June 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
ynt1557098768177.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1103
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.