SET SESSION ACCOUNT Examples | Teradata Vantage - 17.05 - Example: Setting the Account to Change Resource Charges for a Session - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Product
Advanced SQL Engine
Teradata Database
Release Number
17.05
Release Date
January 2021
Content Type
Programming Reference
Publication ID
B035-1144-175K
Language
English (United States)

User A, employed in the Marketing Group, has the default account ‘$M0+MKTG&S&D&H’. The user wants to change to the FIN1 account to charge the system resources used to generate the monthly finance report to the Finance Group.

SET SESSION ACCOUNT=‘$M0+FIN1&S&D&H’ FOR SESSION