SET SESSION ACCOUNT SQL Statement | Teradata Vantage - 17.10 - SET SESSION ACCOUNT - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

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

Dynamically changes your account or account priorities for the duration of a session or for one SQL request only.

ANSI Compliance

This statement is a Teradata extension to the ANSI SQL:2011 standard.

Although SET SESSION ACCOUNT is technically a DCL statement, Vantage treats it as a DDL statement for transaction semantics.

Required Privileges

There are no privileges required to execute a SET SESSION ACCOUNT request, however, the specified account must be assigned to the executing user.