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 | |
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 |