17.00 - Example: Using QryLogExplainDocV - 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 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.