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

QUERY MIGHT RETURN INCORRECTLY SORTED ROWS.

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
Complex query might return incorrectly sorted rows in situation 
when following conditions are met: 
 
- there is DISTINCT clause in the top SELECT of a query; 
- there is ORDER BY and/or FETCH FIRST n ROWS ONLY clause. 
 
Query snippet: 
 
SELECT DISTINCT ... 
FROM ... 
WHERE ... = ( SELECT ...) 
ORDER BY ... 
 
This query might return incorrect results.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.5 and Fix Pack 7                   * 
****************************************************************
Local-Fix:
SELECT DISTINCT should be separated from the ORDER BY: 
 
Query snippet: 
 
SELECT * 
	FROM ( 
		SELECT DISTINCT ... 
		FROM ... 
		WHERE ... = ( SELECT ... ) 
	) 
ORDER BY...
Lösung
Problem was first fixed in DB2 Version 10.5 and Fix Pack 7
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
11.06.2015
20.01.2016
20.01.2016
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.7 FixList