Example: Setting a Query Band For a Session - Advanced SQL Engine - Teradata Database

Database Administration

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Published
July 2021
Language
English (United States)
Last Update
2021-07-27
dita:mapPath
upb1600054424724.ditamap
dita:ditavalPath
upb1600054424724.ditaval
dita:id
B035-1093
lifecycle
previous
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.