home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT02242 Status: Closed

-901 FROM RUNNING A QUERY.

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
Some necessary conditions to hit the problem are: 
The query is in a pattern of 
SELECT FROM (<SUBQUERY1> as A, (SELECT FROM WHERE <ANYCOL> IN 
<SUBQUERY2>) as B) WHERE A.col1 = B.col1 GROUP BY A.col2; 
 
here, 
SUBQUERY1 = SELECT col1, col2 from <SUBQUERY3> GROUP BY col1, 
col2 
SUBQUERY2 = SELECT DISTINCT col1 from <SUBQUERY3> 
SUBQUERY3 = SELECT col1, col2 from <base tables> WHERE 
<ANYPREDICATES>
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* all OS                                                       * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* -901 FROM RUNNING A QUERY.                                   * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* apply fp5 or higher                                          * 
****************************************************************
Local Fix:
Manually rewrite SUBQUERY2 from "SELECT DISTINCT col1 from 
<SUBQUERY3>" to "SELECT col1 from <SUBQUERY3> GROUP BY col1".
Solution
fp5
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
05.06.2014
14.10.2015
14.10.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.5 FixList