16.20 - Example: Report a DBQL Rule That Shows SQL, StepInfo, and FeatureInfo Options Enabled - 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
Language
English (United States)
Last Update
2019-05-24
dita:mapPath
wkf1512081455740.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval
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