IBM Support

IT29574: WRONG RESULT MIGHT OUTPUT FROM QUERIES WITH INNER JOINS AND CORRELATED EXISTS SUB-QUERIES CONTAINING OUTER JOINS

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Users might observe wrong results from a query with the
    following characteristics:
    1. the query contains EXISTS sub-query correlated to a base
    table referenced in a select hosting the EXISTS predicate and
    let's call the correlated source column in this base table
    col_corr_source
    2. this base table joins with another sub-query on
    col_corr_source
    2. the EXISTS sub-query contains at least one outer join
    3. the correlated column in the EXISTS sub-query is on the row
    preserving side of the outer join
    
    When the wrong result occurs, the query outputs more rows than
    the correct result.
    

Local fix

  • Work-around:
    None
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * None                                                         *
    ****************************************************************
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT29574

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    B10

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-06-28

  • Closed date

    2021-01-25

  • Last modified date

    2021-03-29

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"11.1"}]

Document Information

Modified date:
31 March 2021