17.10 - Usage Notes - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

QueryBand Field Length

The HELP SESSION output includes these query band fields:
  • QueryBand
  • Session QueryBand
  • Transaction QueryBand
  • Profile QueryBand
The QueryBand field is a concatenation of the session and transaction query bands. When the DBSControl field MaxSetQueryBandSize is greater than 2K and the host character set export width is greater than one, the HELP SESSION QueryBand field may be truncated to prevent the HELP SESSION output from exceeding the 64KB row size limit. The Session QueryBand, Transaction QueryBand, and Profile QueryBand fields are not truncated. For more information on export width specifications, see Valid Export Width Specifications. For more information on the DBSControl field MaxSetQueryBandSize, see Teradata Vantage™ - Database Utilities, B035-1102. To find the full concatenated query band string for the current transaction, session, and profile, use the GetQueryBand function. For more information about the GetQueryBand function, see Teradata Vantage™ - Application Programming Reference, B035-1090.