BEGIN LOGGING | Teradata Connector | QueryGrid - BEGIN LOGGING - Teradata QueryGrid

Teradata® QueryGrid™ Installation and User Guide

Product
Teradata QueryGrid
Release Number
2.19
Published
July 2022
Language
English (United States)
Last Update
2022-07-28
dita:mapPath
jpf1654813554544.ditamap
dita:ditavalPath
ft:empty
dita:id
lxg1591800469257
Product Category
Analytical Ecosystem

Purpose

Starts the auditing of SQL requests that attempt to access data.

This topic describes only the portions of the BEGIN LOGGING syntax diagram specific to this Teradata QueryGrid connector. For information about the other syntax used with BEGIN LOGGING, see Teradata® Database SQL Data Definition Language - Syntax and Examples, B035-1144.

Syntax

BEGIN LOGGING [ DENIALS ] [ WITH TEXT ] ON
  [ FIRST | LAST | FIRST AND LAST | EACH ]
  [ FOR CONSTRAINT constraint_name ]
  { ALL | operation [,...] | GRANT }
  [ BY { database_name | user_name }[,...] ]
  [ ON target ] [,...]  [;]

Syntax Elements

target
{ authorization |
  DATABASE database_name |
  USER user_name |
  { TABLE | VIEW | MACRO | PROCEDURE | FUNCTION | TYPE | FOREIGN SERVER
  } [ database_name. | user_name. ] object_name
}
authorization
AUTHORIZATION authorization_name