EXPLAIN Request Modifier | SQL Statements | Teradata Vantage - EXPLAIN Request Modifier - Advanced SQL Engine - Teradata Database

SQL Data Manipulation Language

Product
Advanced SQL Engine
Teradata Database
Release Number
17.00
Published
September 2020
Language
English (United States)
Last Update
2021-01-23
dita:mapPath
qtb1554762060450.ditamap
dita:ditavalPath
lze1555437562152.ditaval
dita:id
B035-1146
lifecycle
previous
Product Category
Teradata Vantage™

Reports a summary of the query plan generated by the SQL query optimizer to process any valid SQL request, that is, the steps the system would use to resolve a request. The Optimizer processes an explained request in the same way that the request would be processed without the EXPLAIN modifier, except that the SQL within the request is not actually executed. However, for a dynamic plan, the request is partially executed.

Optionally, you can display the output as XML text instead of plain English text.

For additional information about how to interpret the reports generated by an EXPLAIN request modifier or the related Visual Explain utility, see:
  • INSERT EXPLAIN
  • Teradata Vantage™ - SQL Request and Transaction Processing, B035-1142
  • Teradata® Visual Explain User Guide, B035-2504

Required Privileges

To EXPLAIN a request, you must have the permissions that are required to execute that request.

ANSI Compliance

EXPLAIN is a Teradata extension to the ANSI SQL:2011 standard.

Other SQL dialects support similar non-ANSI standard statements with names such as EXPLAIN PLAN.