How do you do the EXPLAIN of a dynamic SQL statement?
Answers were Sorted based on User's Feedback
Answer / swetha dasari
we could replace the unknown values with a "?"
eg:
select name
from database
where name = ?
| Is This Answer Correct ? | 3 Yes | 3 No |
Answer / mehdee
- When we issue an EXPLAIN as of the BIND like EXPLAIN
(YES), then results to analyze the path will go into 3 DB2
tables: PLAN_TABLE, DSN_STATEMENT_TABLE &
DSN_FUNCTION_TABLE. And you can do:
- select * from fhtdev.plan_table; And columns are
defined in DB2 Developers Guide EXPLAIN.
| Is This Answer Correct ? | 0 Yes | 1 No |
What is the function of the Data Manager?
What is the purpose of the QUIESE Utility?
What is ibm db2 connect?
why we create view.
What r the comman abends in db2, jcl and cobol???????
i want to maintain uniqueness on pdf without make lf??????????
How to execute stored procedure in db2 command editor?
Is the primary key a clustered index?
What kind of database is db2?
Explain correlated sub-queries.
Is it possible to create an Instance in DB2 using DB2 Control Center ?
pls tell me abt the normalization five types....