home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT06539 Status: Closed

UNEXPECTED SQL0433N DURING SINGLE ROW UPDATE OF COLUMN-ORGANIZED TABLE WITH
A CHAR[1] COLUMN IN DB2 V105 FIXPACK 5

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
In db2_v105 fixpack 5, an unexpected SQL0433N may occur when 
updating a column-organized table. The following conditions 
must occur: 
 
- the table must have a CHAR[1] column that is not being updated 
by the statement and is not part of a unique key 
- the update is directed to one row by specifying in a WHERE 
clause the values for the unique key
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.5 Fixpack7 or higher               * 
****************************************************************
Local Fix:
Modify the update statement to explicitly update any char[1] 
columns to be equal to the current value. 
 
e.g. for a table tab1 with columns: (i1 int, i2 int not null 
unique, c1 char(1): 
 
the update that incorrectly fails with a SQL0433 might be: 
 
update tab1 set i1 = ? where i2 = ? 
 
then changing this to 
 
update tab1 set i1 =  ?, c1=c1 where i2=?
Solution
First fixed in DB2 Version 10.5 Fixpack7
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.01.2015
27.01.2016
27.01.2016
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.7 FixList