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 IT04426 Status: Closed

"<TIMESTAMP_COLUMN> + <DECIMAL_COLUMN> SECONDS" MIGHT
PRODUCE INCORRECT RESULTS IN COLUMN-ORGANIZED TABLES

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
Selecting "<TIMESTAMP_COLUMN> + <DECIMAL_COLUMN> SECONDS" from a 
column-organized table might produce incorrect results for rows 
with <DECIMAL_COLUMN> < 0 and <DECIMAL_COLUMN> > -1.  For 
example, the following SQL statements return a value of 
2014-01-01-12.00.01.900000 when it should return a value of 
'2014-01-01-11.59.59.900000'. 
 
create table t1 (t1 timestamp, d2 decimal(10,5)) organize by 
column; 
insert into t1 values ('2014-01-01-12.00.00', -0.1); 
select t1 + d2 seconds from t1;
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.5.                             * 
****************************************************************
Local Fix:
Solution
The problem is first fixed in DB2 version 10.5.0.5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.09.2014
13.03.2015
09.04.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.5.0.5 FixList