DB2 - Problem description
Problem IT03034 | Status: Closed |
Presence of VALUES clause in a correlated query might prevent breaking of common table expression. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Under rare scenarios, QRW might not optimize the graph completely if the following conditions are true: 1) The query contains one or more common table expressions (CTE) 2) The CTE subgraph contains one or more correlations to the same query block 3) CTE contains a VALUES clause | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 V9.7 Fix Pack 10 or higher. * **************************************************************** | |
Local Fix: | |
Rewrite the query to break the CTE into individual query blocks. | |
Solution | |
Fixed in DB2 V 9.7 Fix Pack 10. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.07.2014 08.12.2014 08.12.2014 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP10 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.10 |