DB2 - Problem description
Problem IT22453 | Status: Closed |
DB2 MAY INCORRECTLY RETURN SQL0420N WHILE COMPILING A QUERY CONTAINING UNION ALL OPERATORS | |
product: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
Problem description: | |
DB2 may incorrectly return SQL0420N while compiling a query containing one or more UNION ALL operators. The UNION ALL operator(s) can either be as part of the main query or within subqueries. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * See Local Fix * **************************************************************** | |
Local Fix: | |
1. Rewrite the query to avoid using UNION ALL operators. Or: 2. Set the current registry variable via db2set: db2set -im DB2COMPOPT=NO_DEEPKEYPU Or for specific queries by using the following REGISTRY optimizer guideline: | |
Solution | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : follow-up : IT22505 | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.09.2017 12.07.2018 12.07.2018 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |