Example: Report a DBQL Rule That Shows SQL, StepInfo, and FeatureInfo Options Enabled - 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™
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