posted 18 years ago
I am getting SQLException with error code 407 when trying to insert value to a table. I do not know the values in the insert query (it is in the production environment) so I cant figure out value which is null. The exception trace is : DB2 SQL error: SQLCODE: -407, SQLSTATE: 23502, SQLERRMC: TBSPACEID=9, TABLEID=5, COLNO=24. From this statement can i find out the column which is causing the issue (the column which is null). Does COLNO=24 indicate that the 24th column in the insert query was null?