SHOW QUERY LOGGING Syntax Elements - 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™

account_specification

ALL
All users and all accounts.
ALL ACCOUNT = 'account_name'
ALL ACCOUNT = ('account_name ' [,...])

All users with this account or accounts.

If a matching rule is not found, then Vantage returns the rule for all users and all accounts.

user_name_1

The user or users.

If a matching rule is not found, Vantage returns the rule for all users and all accounts.

user_name_1 ACCOUNT = 'account_name'
user_name_1 ACCOUNT = ('account_name ’ [,...])

The user with this account or accounts.

If a matching rule is not found, Vantage searches for a matching rule in the order indicated and returns the first match that it finds.

  • User name and all accounts.
  • All users with this account or accounts.
  • All users and all accounts.
user_name_2

The user or users.

If a matching rule is not found, Vantage returns the rule for all users and all accounts.

database_name
the database or databases.

application_specification

APPLNAME = ‘application_name
APPLNAME = (‘application_name _1’, ‘application_name_2

the application or applications.