16.10 - QueryBandTbl - Teradata Database

Teradata Database SQL Request and Transaction Processing

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Programming Reference
User Guide
featnum
B035-1142-161K

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.