17.00 - Example: Using ColumnUseCountV - 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 shows the number of accesses occurring on the columns of a particular table:

SELECT FieldName, AccessCount FROM DBC.ColumnUseCountV WHERE DatabaseName = 'Personnel' AND TableName = 'Employee';

Result:

FieldName  AccessCount
---------- ------------
id         15
name       13