Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC65954 Status: Geschlossen

RECURSIVE QUERY WITHOUT INITIALIZATION FULLSELECT HANGS DURING COMPILATION

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
A recursive query that is missing the initialization full select 
hangs during compilation.  Here is an example of such a query: 
 
   with tab (col) as (select 'const' from tab) select * from tab 
 
Because there is no initialization full select, the query would 
never return any rows.  This is a badly written query where the 
intention was either: 
 
a) a recursive query but the initialization full select was 
merely neglected 
b) that the table reference 'tab' in the the common table 
expression full select is a real table.  In this case, the table 
references must be changed or qualified to avoid confusion, 
e.g.: 
 
    with A.tab (col) as (select 'const' from B.tab) select * 
from A.tab
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All 9.7                                                      * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* A recursive query that is missing the initialization full    * 
* select hangs during compilation.  Here is an example of such * 
* a query:                                                     * 
*                                                              * 
*                                                              * 
* with tab (col) as (select 'const' from tab) select * from    * 
* tab                                                          * 
*                                                              * 
*                                                              * 
* Because there is no initialization full select, the query    * 
* would never return any rows.  This is a badly written query  * 
* where the intention was either:                              * 
*                                                              * 
*                                                              * 
*                                                              * 
* a) a recursive query but the initialization full select was  * 
*                                                              * 
* merely neglected                                             * 
*                                                              * 
*                                                              * 
* b) that the table reference 'tab' in the the common table    * 
* expression full select is a real table.  In this case, the   * 
* table references must be changed or qualified to avoid       * 
* confusion, e.g.:                                             * 
*                                                              * 
*                                                              * 
*                                                              * 
* with A.tab (col) as (select 'const' from B.tab) select *     * 
* from A.tab                                                   * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* install version 9.7 FP2 or up                                * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
first fixed in version 9.7 FP2
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
29.01.2010
17.05.2010
17.05.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP2
Problem behoben lt. FixList in der Version
9.7.0.2 FixList