DB2 - Problem description
Problem IC97533 | Status: Closed |
NESTED TABLE EXPRESSIONS WITH OUTER JOIN NOT PUSH DOWN | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
By default, internal server option NESTED_TAB_EXPR_W_OJ is set to 'N' for AS400 data source, this may cause nested table expressions with out join cannot be pushed down to data source. Below is an example of the statement will encounter this issue: SELECT C.COL3 FROM (SELECT COL1,COL2,COL3 FROM NICK1 WHERE COL1 = 'TEST') A, NICK1 B, NICK2 C WHERE B.COL1(+) = A.COL1 AND B.COL2(+) = A.COL2 AND B.COL4(+) =A.COL3 AND C.COL1(+) = B.COL1 AND C.COL2(+) = B.COL3; | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Please upgrade to DB2 version 10.5 fixpack 4 or later * **************************************************************** | |
Local Fix: | |
alter server os400serv options(add db2_nested_tab_expr_w_oj 'Y') | |
available fix packs: | |
DB2 Version 10.5 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.11.2013 28.11.2014 28.11.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.3 | |
10.5.0.3 |