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 IT00909 Status: Geschlossen

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

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
Selecting "<TIME_COLUMN> - <DECIMAL_COLUMN> SECONDS" from a 
column-organized table will produce incorrect results for rows 
where the fractional part of <DECIMAL_COLUMN> is greater than 0 
and less than 0.000000000001.  Similarly, selecting 
"<TIME_COLUMN> + <DECIMAL_COLUMN> SECONDS" from a 
column-organized table will produce incorrect results for rows 
where the fractional part of <DECIMAL_COLUMN> is less than 0 and 
greater than -0.000000000001. 
 
For example, the following SQL statements return a value of 
'11:59:59' when it should return a value of '12:00:00'.  The 
reason it should return a value of '12:00:00' is because SECONDS 
in DB2 should be converted to DECIMAL(27,12) allowing a maximum 
of 12 digits of fractional seconds to be included.  Anything 
smaller should be ignored, but is not being ignored for queries 
against column-organized tables. 
 
create table table1 (t1 time, d2 decimal(20,13)) in ts1 organize 
by column; 
insert into table1 values ('12.00.00',  0.0000000000001); 
select t1 - d2 seconds from table1;
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* CDE                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Install v10.5 FP4                                            * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
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

Lösung
Install v10.5 FP4
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
08.04.2014
15.09.2014
15.09.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.4 FixList