16.20 - Example: Specify an account explicitly to discontinue request logging - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ SQL Data Definition Language Syntax and Examples

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Content Type
Programming Reference
Publication ID
B035-1144-162K
Language
English (United States)
Last Update
2019-05-24

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');