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 IT22494 Status: Closed

QUERY CONTAINS COUNT(CONSTANT) OR COUNT_BIG(CONSTANT) MIGHT RETURN
INCORRECT RESULT

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
Wrong results might be observed when:
1. a query contains COUNT(constant) or COUNT_BIG(constant);
2. the COUNT or COUNT_BIG aggregation is on an outer joined
table;
3. the table on the right hand side of a left outer join or the
table on the left hand side of a right outer join has more rows
than the table on the other side of the outer join.
Example :
$  db2 "select count(1) from temp_cust_no_p a  left join
temp_a_rpt_dp_acct b on a.CUST_NO=b.CUST_NO"

1
-----------
     327383
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* NONE                                                         *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to v105fp10                                          *
****************************************************************
Local Fix:
db2set DB2_REDUCED_OPTIMIZATION=NO_PEA
Solution
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
22.09.2017
16.07.2018
16.07.2018
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)