QueryBandTbl - Advanced SQL Engine - Teradata Database

SQL Request and Transaction Processing

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-28
dita:mapPath
uqf1592445067244.ditamap
dita:ditavalPath
uqf1592445067244.ditaval
dita:id
B035-1142
lifecycle
previous
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.