home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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
DB2 Version 10.5 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 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 FixList
10.5.0.3 FixList