BEGIN LOGGING Syntax | Teradata Vantage - 17.05 - BEGIN LOGGING Syntax - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)
BEGIN LOGGING [DENIALS] [WITH TEXT] ON
  [ logging_frequency ]
  [ FOR CONSTRAINT constraint_name ]
  { ALL | operation [,...] | GRANT }
  [ BY user_name [,...] ]
  [ ON item_list ] [;]
logging_frequency
{ FIRST | LAST | FIRST AND LAST | EACH }
item_list
{ AUTHORIZATION authorization_name |
  DATABASE database_name |
  USER user_name |
  { TABLE | VIEW | MACRO | PROCEDURE | FUNCTION | FUNCTION MAPPING | TYPE }
    [ database_name. | user_name. ] object_name
} [,...]