Logging Sessions and Creating a Default Database | DATABASE | Teradata Vantage - 17.10 - Logging Sessions On and Creating a Default Database - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Detailed Topics

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

When sessions are logged on, an initial default database is set. Normally, this is the defined default database of the user.

You can also use the CREATE PROFILE and MODIFY PROFILE statements to modify the default database. This default database is used until the end of the session, or until a subsequent DATABASE statement is entered. You can include the DATABASE statement in the user startup string.