15.10 - Logging Frequency - Teradata Database

Teradata Database SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Release Number
15.10
Published
December 2015
Language
English (United States)
Last Update
2018-06-05
dita:mapPath
SQL_DDL_15_10.ditamap
dita:ditavalPath
ft:empty

The frequency with which to log events.

A log entry is made for either the first, the last, the first and last, or each time during any session that the specified action is attempted against the specified object.

If logging is already initiated for an action on an object, a subsequent request to begin logging for the same object, action, user, and DENIALS specification causes only the current frequency of logging to be changed to whatever the new request specifies.

FIRST
A log entry is made the first time during any session that the specified action is attempted against the specified object.
The default is FIRST.
LAST
A log entry is made the last time during any session that the specified action is attempted against the specified object.
FIRST AND LAST
A log entry is made the first and last time during any session that the specified action is attempted against the specified object.
The only valid combination of logging frequencies is FIRST AND LAST.
EACH
A log entry is made each time during any session that the specified action is attempted against the specified object.
The only valid options for auditing row-level security enforcement are FIRST and EACH.