what is the steps followed in EXPLAIN Process or EXPLAIN
command. (Explain is for identifying the optimized access
path but how or what is the steps for doing the EXPLAIN)

Answer Posted / sdexcellent@yahoo.co.in

EXPLAIN is used to display the access path as determined by
the optimizer for a SQL statement.
It can be used in SPUFI (for single SQL statement ) or in
BIND step (for embedded SQL ).
plan table should be created under your authid.if its there
then only EXPLAIN can be used in SPUFI.
Output of EXPLAIN can be stored in userid.plantable
in spufi u ve to write the query with ?
select billtn,lpic from xxxx where lpic > ?

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you find the maximum value in a column in db2?

838


What are the various data types available in db2?

811


What is the difference between nvl and coalesce?

807


What are the two types of logging in the db2 database? Explain them.

794


What is the maximum number of columns in a db2 table?

979


How can you find out the # of rows updated after an update statement?

855


What are the various isolation levels possible?

848


Why do we need reorg in db2?

735


What is explain in db2?

775


What is a bind card?

882


Why db2 is called db2?

764


I understand Join always perform better than subqueries. Then what is the advantage/use of Subqueries/correlated subqueries etc.,in DB2 programming.Please explain.

1846


what is the responsibility of the construction superintendent

1876


What is table space in db2?

779


How do you simulate the explain of an embedded sql statement in spufi/qmf?

839