17.00 - Example: Using TableTextV - 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, assuming that text for the database object is more than 12500 characters.

SELECT TableName,TableKind, LineNo, RequestText( char(50)) FROM
DBC.TableTextV WHERE DatabaseName = 'Personnel'  ORDER BY TableName, LineNo;