16.10 - About Defining Name-Value Pairs for Session and Transaction Query Bands - Teradata Database

Teradata Database Administration

Teradata Database
Release Number
Release Date
April 2018
Content Type
Publication ID
English (United States)

To assign values to a query band for a session or transaction, submit a SET QUERY_BAND statement. You can submit a SET QUERY_BAND = NONE FOR SESSION or NONE FOR TRANSACTION at any time to remove the query band. For the syntax and more extensive examples, see SQL Data Definition Language.

To set a query band for a profile, use a CREATE/MODIFY PROFILE request. For more information, see About Defining Name-Value Pairs for Profile Query Bands.