Click here to Skip to main content
15,886,071 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I recently updated my db2 engine in my test machine from 9.7 to 10.5.
I wasn't able to have execute plains. It says me:
com.ibm.db2.jcc.SqlException: The Explain table "db2inst.EXPLAIN_INSTANCE", column "25" does not have the proper definition or is missing. SQLCODE=-220, SQLSTATE=55002


What I have tried:

I googled a lot, I found that I have to redefine explain tables, from the file explain.ddl. But I have the explain column as like as defined into the explain.dll. In particular, the 25° column is the same (EXECUTABLE_ID VARCHAR(32) FOR BIT DATA, if counting is base 1, EXECUTION_TIME TIMESTAMP if counting is base 0).

I think that the update from 9.7 to 10.5 left that file in the old version.

Anyone has a Explain.dll of a new 10.5 installation to show me how are to be defined the explain tables?

Thank you,
Lucio
Posted
Updated 2-Feb-17 23:11pm

1 solution

FOUND!
The problem was the table and not the file was in old version. This DDL creates the tables, without droping them before. The tables were created in 9.7. Dropped tables, runned file, now all runs well.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900