How do you simulate the EXPLAIN of an embedded SQL
statement in SPUFI/QMF? Give an example with a host
variable in WHERE clause)

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is temporal table in db2?

615


What is package in cobol db2?

711


What is the physical storage length of timestamp data type?

655


What is the use of runstats in db2?

593


How does a cursor work?

566






How to find the number of rows in db2 tables?

625


How can tablespace be moved to another dasd volume that is allocated for that tablespace?

758


What is the difference between drop table and delete table?

570


How do I add a column to a table in db2?

638


What is db2 instance?

602


How to find the maximum value in a column in the db2 database?

623


What is the physical storage length of the data types date, time, and timestamp?

635


What is the use of db2 optimizer?

625


What is load utility in db2?

679


What is bind in db2?

614