Example: Report a DBQL Rule That Shows SQL, StepInfo, and FeatureInfo Options Enabled - Analytics Database - Teradata Vantage

SQL Data Definition Language Syntax and Examples

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2024-10-04
dita:mapPath
jco1628111346878.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
mdr1472255012272
lifecycle
latest
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