15.10 - QueryBandTbl - Teradata Database

Teradata Database SQL Request and Transaction Processing

prodname
Teradata Database
vrm_release
15.10
category
Programming Reference
User Guide
featnum
B035-1142-151K

Describes query band‑related information about captured queries.

The following CREATE TABLE request defines QueryBandTbl.

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

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.