17.10 - Example: Using QryLogExplainDocV - 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 retrieves the ExplainText for a particular QueryID.

.export file=explaindoc.txt;
SELECT explaintextdoc FROM QryLogExplainDocV where QueryID=307199040105795996;
.export reset;
The output from the SELECT statement (the ExplainTextDoc) does not contain any format; it is just one long string.