REPLACE QUERY LOGGING - Advanced SQL Engine - Teradata Database

SQL Data Definition Language Detailed Topics

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
imq1591724555718.ditamap
dita:ditavalPath
imq1591724555718.ditaval
dita:id
B035-1184
lifecycle
previous
Product Category
Teradata Vantage™

REPLACE QUERY LOGGING is identical to BEGIN QUERY LOGGING except that it enables you to replace an existing query logging rule in DBC.DBQLRuleTbl by submitting a request to replace that rule with a new rule that has the options you specify for it. The following table is a high level summary of what a REPLACE QUERY LOGGING request does.

IF a rule … THEN Vantage
exists replaces it.
does not exist creates one that satisfies the REPLACE QUERY LOGGING specifications.

See BEGIN QUERY LOGGING for more information relevant to this statement.