Generate an EXPLAIN with BTEQ | VantageCloud Lake - Generating an EXPLAIN with BTEQ - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

To generate an EXPLAIN for an SQL request, add the word EXPLAIN at the beginning of the request.

For example, the following SQL performs an EXPLAIN on a SELECT statement:

EXPLAIN SELECT * FROM Employee;

If you want a dynamic request plan instead, issue DYNAMIC EXPLAIN request. For example,

DYNAMIC EXPLAIN SELECT * FROM Employee;

Related Information

Topic Reference
Syntax and options for the EXPLAIN request modifier EXPLAIN Request Modifier
Interpreting the output of the EXPLAIN request modifier for request types EXPLAIN Request Modifier