17.00 - Session Database and Called Procedures - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Data Definition Language Syntax and Examples

Advanced SQL Engine
Teradata Database
Release Number
Release Date
September 2020
Content Type
Programming Reference
Publication ID
English (United States)

Stored procedures retain the default database that was in effect when they were created. They do not reflect the default database in effect for the session in which they are called unless it is the same as the database in effect when the procedure was created.