QueryBandTbl - Analytics Database - Teradata Vantage

SQL Request and Transaction Processing

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
zfm1628111633230.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
evd1472255317510
lifecycle
latest
Product Category
Teradata Vantage™

Function of QueryBandTbl

Describes query band-related information about captured queries.

QueryBandTbl Definition

The following CREATE TABLE request defines QueryBandTbl:

   CREATE QCD.QueryBandTbl (
     ID         INTEGER NOT NULL,
     SessionID  INTEGER FORMAT '--,---,---,--9' NOT NULL,
     QueryBand  VARCHAR(12304) CHARACTER SET UNICODE NOT CASESPECIFIC),
   UNIQUE PRIMARY INDEX (ID);

Attribute Definitions for QueryBandTbl

The following table defines the QueryBandTbl attributes:

Attribute Definition
ID Unique ID for the captured query and unique primary index for QueryBandTbl.
SessionID ID for the session from which the query was captured.
QueryBand Name of the query band used to capture the query.

If no query band is used, the attribute is null.

XMLDocType The type of XML content stored in the Text column of the XMLQCD table.