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

INCORRECT OUTPUT MIGHT BE RETURNED FOR QUERIES CONTAINING A DISTINCT CLAUSE
AND DBPARTITIONNUM FUNCTION IN THE SELECT LIST.

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
You might encounter incorrect output from a SQL statement that 
satisfies all the following conditions: 
 
1.  a DISTINCT clause in the SELECT list; 
2.  two or more references to table T; 
3.  if there are k >1 references to table T and a DBPARTITIONNUM 
function in the SELECT list on <= k-1 of the references to T 
4.  A restriction on the set of database partitions in the WHERE 
clause (e.g. DBPARTITIONNUM(T.a)=0) on the references to T on 
which the DBPARTITIONNUM function in the select list applies
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Problem occurs in DPF environment only.                      * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* You might encounter incorrect output from a SQL statement    * 
* that                                                         * 
* satisfies all the following conditions:                      * 
*                                                              * 
*                                                              * 
*                                                              * 
* 1.  a DISTINCT clause in the SELECT list;                    * 
*                                                              * 
* 2.  two or more references to table T;                       * 
*                                                              * 
* 3.  if there are k >1 references to table T and a            * 
* DBPARTITIONNUM                                               * 
* function in the SELECT list on <= k-1 of the references to T * 
*                                                              * 
* 4.  A restriction on the set of database partitions in the   * 
* WHERE                                                        * 
* clause (e.g. DBPARTITIONNUM(T.a)=0) on the references to T   * 
* on                                                           * 
* which the DBPARTITIONNUM function in the select list applies * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 9.7 Fix Pack 5                        * 
****************************************************************
Local-Fix:
Modify the statement by moving the multiple references to table 
T into separate query blocks.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Problem was first fixed in DB2 Version 9.7 Fix Pack 5
Workaround
see LOCAL FIX
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
22.06.2011
09.12.2011
09.12.2011
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP5
Problem behoben lt. FixList in der Version
9.7.0.5 FixList