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

DB2 MIGHT PRODUCE INCORRECT RESULTS WHEN EXECUTING QUERY WITH MULTIPLE
"IN" LIST PREDICATES ON SAME COLUMN

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
Under rare scenarios, DB2 might produce incorrect results if the 
following conditions are true: 
1) The query contains 2 or more "IN" LIST predicates 
2) The predicates reference the same column and have at least 1 
non-matching element between them 
3) At least one of the "IN" LIST predicates has been pushed 
deeper 
into the query. 
 
Example: 
 
SELECT vv.col1, vv.col2, min (vi.col3) AS art 
FROM ( 
        SELECT v.col1 AS unr, min (v.col2) AS dat 
        FROM test.VIEW1 v 
        WHERE v.col3 IN (1, 2, 3, 4, 5, 7) 
        GROUP BY v.unr) vv, 
test.VIEW1 vi 
WHERE vv.unr = vi.col1 AND vv.dat = vi.col2 
 
 
GROUP BY vv.unr, vv.dat;
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5 fix pack 4                       * 
****************************************************************
Local-Fix:
Modify the "IN" LIST predicate column to an expression. eg. 
column+0 for numeric columns
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
Problem is fixed in DB2 version 10.5 fix pack 4
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
24.02.2014
08.09.2014
08.09.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.4 FixList