DB2 - Problem description
Problem IT17791 | 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 / 970 - 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 and use Local Fix, or upgrade to * * release and fixpak that has this fix. * **************************************************************** * RECOMMENDATION: * * See Error Description and use Local Fix, or upgrade to * * release and fixpak that has this fix. * **************************************************************** | |
Local Fix: | |
Modify the correlated subquery to return deterministic results | |
Solution | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : IT17787 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 03.11.2016 30.05.2017 30.05.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |