16.20 - Example: Using Database_Default_JournalsV - Teradata Database - Teradata Vantage NewSQL Engine

Teradata Vantage™ Data Dictionary

Product
Teradata Database
Teradata Vantage NewSQL Engine
Release Number
16.20
Published
March 2019
Language
English (United States)
Last Update
2019-05-03
dita:mapPath
zzu1512081120577.ditamap
dita:ditavalPath
TD_DBS_16_20_Update1.ditaval

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