SET EXPLAIN
Firebird 3.0
SET EXPLAIN [ON | OFF]
This command extends the [isql-set-plan] option to report the explained plan instead of the standard one.
If plan output is not currently enabled, then set explain on turns the plan output on.
SQL> set explain on;
SQL> select emp_no, first_name, last_name
CON> from employee
CON> where emp_no = 107;
Select Expression
-> Filter
-> Table "EMPLOYEE" Access By ID
-> Bitmap
-> Index "RDB$PRIMARY7" Unique Scan
EMP_NO FIRST_NAME LAST_NAME
======= =============== ====================
107 Kevin Cook