DB2 - Problem description
Problem IT17787 | Status: Closed |
SQL STATEMENT WITH AN EXISTS PREDICATE AND A JOIN INVOLVING NON-DETERMINISTIC CORRELATED SUBQUERY MAY RETURN MORE ROWS | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
Under rare circumstances, an SQL statement that satisfies all of the following conditions may return more rows than expected: (1) the query has a join between a table and a correlated subquery that returns non-deterministic results (e.g. FFNR clause without an ORDER BY clause, a non-deterministic function) (2) the query has an EXISTS predicate | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Please, install this fix * **************************************************************** | |
Local Fix: | |
Modify the correlated subquery to return deterministic results | |
available fix packs: | |
DB2 Version 11.1 Mod 2 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Please, install this fix | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.11.2016 23.06.2017 23.06.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |