DB2 - Problem description
Problem IT38400 | Status: Closed |
INCORRECT RESULT WHEN DB2 QUERY HAS EXISTS SUB QUERY WITH IS NULL PREDICATE | |
product: | |
DB2 FOR LUW / DB2FORLUW / B50 - DB2 | |
Problem description: | |
Db2 query may generate incorrect result when the following conditions are met: -There is a correlated EXISTS sub query -At least one of the correlated predicates inside EXISTS subquery is part of OR -The OR predicate has IS NULL predicate on the subquery column participating in the correlated predicate | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * **************************************************************** | |
Local Fix: | |
1. /* */ 2. db2set -im DB2COMPOPT=NO_EORE | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * **************************************************************** | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 16.09.2021 05.11.2021 09.12.2021 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |