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

QueryGrid™ Installation and User Guide - 3.06

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
Lake
VMware
Product
Teradata QueryGrid
Release Number
3.06
Published
December 2024
ft:locale
en-US
ft:lastEdition
2024-12-07
dita:mapPath
ndp1726122159943.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 the Teradata-to-Teradata 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