16.20 - Example: Using TablesV - 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 displays information about tables, views, and macros in the Personnel database:

SELECT TableName,CreatorName,TableKind,ProtectionType FROM DBC.TablesV WHERE DatabaseName = ’Personnel’ ;

The query returns the following result:

TableName          CreatorName   TableKind   ProtectionType
------------       -----------   ---------   --------------
NewEmp             GREENE           M        F
EmployeeInfo       GREENE           V        F
Employee           DBC              T        F
Department         DBC              T        F
Project            JONES            T        F
Charges            JONES            T        F