DB2 - Problem description
Problem IT28014 | Status: Closed |
WRONG RESULT IS POSSIBLE IF QUERY OPTIMIZATION IS SET TO 0 AND QUERY HAS "ALL" | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
WRONG RESULT IS POSSIBLE IF QUERY OPTIMIZATION LEVEL IS SET TO 0 AND QUERY HAS "ALL" . example: select c1 from t1 where 1 = all (select 1 from t2 where t1.c1 = t2.c1); we could lose rows depending on data in t1 and t2. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher * **************************************************************** | |
Local Fix: | |
Do not use QUERY OPTIMIZATION level 0. | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 06.02.2019 16.01.2020 16.01.2020 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |