17.10 - Example: Specify an account explicitly to discontinue request logging - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1144-171K
Language
English (United States)

If request logging is active on a specific account, you must specify that account explicitly to discontinue request logging.

This request removes the rule for user_1 logged on through the order entry account from the rule cache and DBC.DBQLRulesTbl and ends all query logging based on the rule.

     END QUERY LOGGING ON user_1 ACCOUNT = ('order_entry');