IC89081: DIFFERENT BEHAVIOUR IN DB2 WHEN USING ORACLE SYNTAX "CONNECT BY NOCYCLE LEVEL"

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • An example SQL:
    ----------------------------------------------------------------
    SELECT LEVEL FROM DUAL CONNECT BY NOCYCLE LEVEL <= 10
    ----------------------------------------------------------------
    
    Since the virtual table DUAL has 1 row, the intermediate result
    table Hn+1 would return the same row as the one that is already
    in the hierarchical path. According to the documentation, the
    NOCYCLE keyword will not include the repeated row. This is an
    intended behaviour in DB2, which is different from Oracle
    behaviour.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * ALL                                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See Error Description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Upgrade to DB2 Version 9.7 Fix Pack 9.                       *
    ****************************************************************
    

Problem conclusion

  • Upgrade to DB2 Version 9.7 Fix Pack 9.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IC89081

  • Reported component name

    DB2 FOR LUW

  • Reported component ID

    DB2FORLUW

  • Reported release

    970

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-12-13

  • Closed date

    2013-12-18

  • Last modified date

    2013-12-18

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

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

    IC95385 IC96280

Fix information

  • Fixed component name

    DB2 FOR LUW

  • Fixed component ID

    DB2FORLUW

Applicable component levels

  • R970 PSN

       UP

  • R970 PSY

       UP

  • RA10 PSN

       UP

  • RA10 PSY

       UP

  • RA50 PSN

       UP

  • RA50 PSY

       UP



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

DB2 for Linux, UNIX and Windows

Software version:

9.7

Reference #:

IC89081

Modified date:

2013-12-18

Translate my page

Machine Translation

Content navigation