Example: Using QryLogExplainDocV - Advanced SQL Engine - Teradata Database

Data Dictionary

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
June 2020
Language
English (United States)
Last Update
2020-10-15
dita:mapPath
yoz1556235523563.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1092
lifecycle
previous
Product Category
Teradata Vantageā„¢

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.