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 IT16113 Status: Closed

901 WHEN QUERY HAS TABLE FUNCTION HAVING JOIN ON SAME TABLE

product:
DB2 FOR LUW / DB2FORLUW / B10 - DB2
Problem description:
Description:
DB2 may through 901 if a query has the following properties:
1) An atomic table function that returns result of join on same
table
2) A join with the table function
3) IN/EXIST predicate having a join

Example:
CREATE FUNCTION tf ()
RETURNS TABLE (tfc1 int)
BEGIN ATOMIC
    RETURN
        select x.t4c1
        from t4 x, t4 y
        ;--
END;

select t.*,t1c1 from TABLE(tf()) as t
, T1
where t1c1 in (SELECT t2c1 FROM T2, T3);

Workaround:
Turn off DEEPKYPU by
1) db2set DB2COMPOPT=NO_DEEPKEYPU or
2) using optimizer guideline to impact on the query only:
 /* 




*/
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* -                                                            *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* -                                                            *
****************************************************************
Local Fix:
Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : IT15900 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
13.07.2016
10.10.2017
10.10.2017
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)