17.10 - Example: Using TableTextV - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Administration
Programming Reference
Publication ID
B035-1092-171K
Language
English (United States)

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;