17.10 - Example: Using Database_Default_JournalsV - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - Data Dictionary

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

The following SELECT statement selects the information on each database accessible by the requesting user for which a default journal table is defined:

SELECT * FROM DBC.Database_Default_JournalsV;

Result:

DatabaseName  Journal_DB  JournalName
------------  ----------  ------------
DtBs1         DtBs1       DtBs1Jrnl
DtBs2         DtBs2       DtBs2Jrnl
DtBs3         DtBs1       DtBs1Jrnl