17.00 - Example: Select the CommentString Column from ColumnsV - 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

This example shows a statement that selects any available commentary about columns in the Employee table:

SELECT ColumnName,CommentString FROM DBC.ColumnsV
       WHERE DatabaseName=’Personnel’ AND
       TableName=’Employee’
       ORDER BY Columnid;

Result:

ColumnName      CommentString
-----------     ---------------------------------------    
EmpNo           Employee serial number.
Name            Employee name, last then first initial.
DeptNo
JobTitle
Salary
YrsExp