The following statement sets the CURRENT EXPLAIN MODE special register, so that Explain information will be captured for any subsequent eligible dynamic SQL statements and the statement will not be executed.
SET CURRENT EXPLAIN MODE = EXPLAIN
Recent Posts
- How to Find Databricks Job Status, Owner, and Active Runs Fast
- 30 SQL Practice Queries with Solutions — Run Them Live
- Supercharge Your Database Skills: Try Our New Interactive SQL Plugin!
- How to Count Spark Stages by Sight and Optimize Shuffles
- Databricks Cluster Min & Max: How to Find and Right-Size
