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
Published
January 2021
Language
English (United States)
Last Update
2021-01-22
dita:mapPath
ncd1596241368722.ditamap
dita:ditavalPath
hoy1596145193032.ditaval
dita:id
mdr1472255012272
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