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

INCORRECT RESULT IN COLUMN-ORGANIZED TABLES IN SQL WITH "COL >=
RHS1 AND COL <= RHS2", IF BOTH DECIMALS AND DOUBLES ARE INVOLVED

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
Customers might select an incorrect result when SQL is done 
against column organized tables and queries similar too "col >= 
rhs1 and col <= rhs2", when all of the following conditions are 
true: 
- rhs1 and rhs2 are either constants or host variables. 
- col of type decimal. 
- rhs1 is of type decimal and rhs2 is of type double or the 
other way around (i.e.: rhs1 is of type double, rhs2 is of type 
decimal). 
- the decimal rhs cannot be precisely represented by double type 
(e.g.: -9999.9999999999999999981631 is presented by -1E+4 in 
double).
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.4.                             * 
****************************************************************
Local Fix:
available fix packs:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Solution
The problem is first fixed in DB2 version 10.5.0.4.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
31.03.2014
08.09.2014
07.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.4 FixList