DB2 - Problem description
Problem IT37785 | Status: Closed |
TRAP IN FUNCTION SQLNR_JOINPPD_COND WHEN RUNNING UPDATE STATEMENT | |
product: | |
DB2 FOR LUW / DB2FORLUW / B50 - DB2 | |
Problem description: | |
A trap could be encountered while UPDATE statement is being compiled. An UPDATE statement should have the following characteristics; - it is UPDATE statement - a scalar subquery is used in SET - In the scalar subquery, the target table being updated is referenced in WHERE clause | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to 11.5.7 or higher * **************************************************************** | |
Local Fix: | |
A workaround to avoid a trap is to set the opimization level as 1. set current query optimization 1; | |
Solution | |
Workaround | |
**************************************************************** * USERS AFFECTED: * * all * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to 11.5.7 or higher * **************************************************************** | |
Comment | |
Upgrade to 11.5.7 or higher | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 27.07.2021 30.11.2021 30.11.2021 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |