Improving SQL Text Readability - Teradata Vantage - Database Engine 20

Data Dictionary

Deployment
VantageCloud
VantageCore
Edition
VMware
Enterprise
IntelliFlex
Product
Database Engine 20
Teradata Vantage
Release Number
20.00
Published
June 2025
ft:locale
en-US
ft:lastEdition
2025-11-20
dita:mapPath
bzg1752605090699.ditamap
dita:ditavalPath
jlp1749501702948.ditaval
dita:id
dlt1472240657517
lifecycle
latest
Product Category
Teradata Vantageā„¢

To combine multiple SQLTextDoc rows with the same query ID into one easily readable document, perform a SELECT request on the QryLogSQLDocV view.

Example

sel queryid,sqltextdoc from qrylogsqldocv where queryid=977188741514475132;
Export the result set to a file. On the monitor, some of the lines may truncate.

The memory allocated for the input is 32 MB. To see the memory setting, use the following:

cufconfig -o | grep MallocLimit

To add more memory, adjust the MallocLimit setting using cufconfig. For more information, see TeradataDatabase Utilities, B035-1102.