End DBQL Logging for Specific Users/Accounts | Teradata Vantage - Ending DBQL Logging for Specific Users and/or Accounts - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-03
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
Teradata Vantage™

When you are ready to stop logging, specify any accounts on which you enabled DBQL logging. For example, if you submitted the following statement:

BEGIN QUERY LOGGING WITH OBJECTS ON APPLNAME='FASTLOAD';

to stop logging, use:

END QUERY LOGGING ON APPLNAME='FASTLOAD';
Support will be removed for the WITH option of the END QUERY LOGGING statement. Use of the option results in the following message: "Warning: Deprecated option WITH is used and will soon be removed."
Teradata recommends using scripts to enable and disable logging to avoid typographical errors.
The application names you specify with the APPLNAME option are the names the system passes in the LogonSource string. (For a list of the commonly seen LogonSource string application names, see “Application Names” in Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144.)