SET SESSION DATABASE SQL Statement | Teradata Vantage - 17.05 - SET SESSION DATABASE - 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)

Changes the default database for the session.

ANSI Compliance

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

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

Required Privileges

None.