Query Banding and Middle Tier Applications - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

End users can connect to Vantage through middle-tier (non-Teradata) applications using pooled sessions. You can use the SET QUERY_BAND statement to attach metadata to end user SQL queries that cannot otherwise be associated with the session.

Application users with SQL privileges can submit SET QUERY_BAND statements. For users who cannot submit SQL, you can program the application to inject a SET QUERY_BAND statement containing the needed metadata.