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
- FAANG-Style SQL Interview Traps (And How to Avoid Them)
- Common Databricks Pipeline Errors, How to Fix Them, and Where to Optimize
- AWS Interview Q&A for Beginners (Must Watch!)
- How a PySpark Job Executes: Understanding Statements, Stages, and Tasks
- Azure Data Factory (ADF): The Complete Beginner-Friendly Guide (2026 Edition)






One response
[…] The data stored in SYIBM.SYSQUERY catalog table helps you find information about each SQL Query. This is the beginning step to validate before you are going to do EXPLAIN_PLAN on PLAN_TABLE (read more info here) […]
LikeLike