Example: Setting a Query Band For a Session - Analytics Database - Teradata Vantage

Database Administration

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
Language
English (United States)
Last Update
2023-11-03
dita:mapPath
pgf1628096104492.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
ujp1472240543947
lifecycle
latest
Product Category
Teradata Vantageā„¢

The following example sets a query band with two name:value pairs for the session.

SET QUERY_BAND = 'org=Finance;report=Fin123;' FOR SESSION;

The pairs in the query band string are org=Finance and report=Fin123.