Hi,
if I use the WebFOCUS-Command
"SQL DB2 SET EXPLAIN ON"
the following by the TABLE-Command created SQL-Command is analyzed and the analyze-results are written into DB2-table "userid.PLAN_TABLE".
Well, I've two questions:
1. Is it possible to write to an arbitrary PLAN_TABLE, e.g.
"otherId.PLAN_TABLE"?
2. The TABLE-Command is executed although EXPLAIN is on.
I would expect only the analyzing not the real table-results. Before really executing I first want to know how "well-formed" the SQL-Select is. Does anybody know how to prevent WebFOCUS from really executing the TABLE-Command when EXPLAIN is on?
Thanks for any clue!
sonjas
if I use the WebFOCUS-Command
"SQL DB2 SET EXPLAIN ON"
the following by the TABLE-Command created SQL-Command is analyzed and the analyze-results are written into DB2-table "userid.PLAN_TABLE".
Well, I've two questions:
1. Is it possible to write to an arbitrary PLAN_TABLE, e.g.
"otherId.PLAN_TABLE"?
2. The TABLE-Command is executed although EXPLAIN is on.
I would expect only the analyzing not the real table-results. Before really executing I first want to know how "well-formed" the SQL-Select is. Does anybody know how to prevent WebFOCUS from really executing the TABLE-Command when EXPLAIN is on?
Thanks for any clue!
sonjas