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 Teradata Vantage™ - SQL Data Definition Language Syntax and Examples, B035-1144.
To set a query band for a profile, use a CREATE/MODIFY PROFILE request. For more information, see Defining Name-Value Pairs for Profile Query Bands.