17.10 - QueryBandTbl - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Request and Transaction Processing

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
User Guide
Publication ID
B035-1142-171K
Language
English (United States)

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.