home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT04307 Status: Geschlossen

INCORRECT RESULTS FROM A COLUMN-ORGANIZED TABLE WHEN OPERATIONS INCLUDE
NEGATIVE FLOAT/DOUBLE VALUES AND A RESULT OF ZERO

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
If an arithmetic expression occurs between negative floating 
point values that yields a 0 result, then the query may return 
incorrect results for a column-organized table. 
 
The following is an example of an operation that could give a 
wrong result: 
 
create table test (col1 integer, col2 float, col3 int, col4 
float) organize by column; 
DB20000I  The SQL command completed successfully. 
 
insert into test values (0,1,0,-1); 
DB20000I  The SQL command completed successfully. 
 
select (col1/col2),(col3/col4) from test; 
 
1                        2 
------------------------ ------------------------ 
  +0.00000000000000E+000   +0.00000000000000E+000 
 
  1 record(s) selected. 
 
unexpected result: 
 
select * from (select col1/col2 as a ,col3/col4 as b from test) 
where a=b; 
 
A                        B 
------------------------ ------------------------ 
 
  0 record(s) selected. 
 
With the fix: 
 
select * from (select col1/col2 as a ,col3/col4 as b from test) 
where a=b; 
 
A                        B 
------------------------ ------------------------ 
  +0.00000000000000E+000   +0.00000000000000E+000 
 
  1 record(s) selected.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.5.                             * 
****************************************************************
Local-Fix:
Lösung
The problem is first fixed in DB2 version 10.5.0.5.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
09.09.2014
09.04.2015
09.04.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.5 FixList