suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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)