Propósito
Inicia la auditoría de las solicitudes de SQL que intentan acceder a los datos.
En este tema, se describen solo las partes del diagrama de sintaxis BEGIN LOGGING específicas de este conector de Teradata QueryGrid. Para obtener información acerca del resto de la sintaxis utilizada con BEGIN LOGGING, consulte Teradata® Database SQL Data Definition Language - Syntax and Examples, B035-1144.
Sintaxis
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 ] [,...] [;]
Elementos de sintaxis
- 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