17.05 - Example: Report a DBQL Rule That Shows SQL, StepInfo, and FeatureInfo Options Enabled - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)
This statement requests the DBQL options for user01:
SHOW QUERY LOGGING ON user01;
The report shows that the SQL, StepInfo and FeatureInfo DBQL options are enabled for user01:
    Rule UserName   "User01"
      Rule UserId   000097F6
          Account   (Rule for any Account)

       DBQL RULE:
          Explain   F
           Object   F
              SQL   T
             Step   T
          XMLPlan   F
            Param   F
     FeatureUsage   T
       StatsUsage   F
         UseCount   F
          Verbose   F
     StatsDetails   F
      UtilityInfo   F
          Summary   F
        Threshold   F
  Text Size Limit   200