How do you simulate the EXPLAIN of an embedded SQL
statement in SPUFI/QMF? Give an example with a host
variable in WHERE clause)
Answers were Sorted based on User's Feedback
Answer / s
EXPLAIN PLAN SET QUERYNO = 1
FOR SELECT EMPNO,WORKDEPT
FROM EMP E, DEPT D
WHERE E.EMPNO = D.EMPNO
AND E.EMPNO = ?
| Is This Answer Correct ? | 5 Yes | 5 No |
How to retrieve rows from a db2 table in embedded sql?
What is a clustering index ?
I have 3 cursors declared. Cursor1 retieves some data. Based on this curso2 will also fetches some data. In cursor3 (using for some updation) I'm using the data retrieved by the above 2 cursor. My question is, while working with cursor3, periodically if I give commit, will all the three crsors will be closed or only cursor3 will be closed?
can we view the access paths created by dbrm ? how ? thx
How to compare data between two tables in db2?
What is lock contention?
Can I use LOCK TABLE on a view?
Which catalog tables contain authorization information?
How do I change the column size in db2?
What is a recovery log?
Mention the different locking levels that are available in db2.
What are the rules for db2 programming?