17.00 - Example: Using TablesV - Teradata Database

Teradata Vantage™ - Data Dictionary

prodname
Advanced SQL Engine
Teradata Database
vrm_release
17.00
created_date
June 2020
category
Administration
Programming Reference
featnum
B035-1092-170K

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