REPLACE QUERY LOGGING SQL Statement | Teradata Vantage - REPLACE QUERY LOGGING - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
wgr1555383704548.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1144
lifecycle
previous
Product Category
Teradata Vantage™

Creates a rule or replaces the current rule with the rule you specify.

See BEGIN QUERY LOGGING for examples.

The REPLACE QUERY LOGGING syntax corresponds to the BEGIN QUERY LOGGING syntax. REPLACE QUERY LOGGING replaces an existing rule. BEGIN QUERY LOGGING creates the new rules that REPLACE QUERY LOGGING requests replace.

If a REPLACE QUERY LOGGING request specifies a rule that does not already exist, the request creates a new rule, similar to a BEGIN QUERY LOGGING request.

Required Privileges

EXECUTE privilege on the macro DBC.DBQLAccessMacro.

If a rule is not already set, creates a rule to satisfy the request.

To use the MODE option, EXECUTE privilege on DBC.DBQLModeMacro.