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 IT31634 Status: Closed

WRONG RESULT IN UPDATE STATEMENT HAVING CORRELATION.

product:
DB2 FOR LUW / DB2FORLUW / B50 - DB2
Problem description:
Description:
Db2 query may generate incorrect result when the following
conditions are met:
-This is an update query
-There is correlation in the subselect
-There is predicate on source and target table column in the
subselect
Problem Summary:
****************************************************************
* USERS AFFECTED:                                              *
* all                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 v11.5.4.0 or higher                           *
****************************************************************
Local Fix:
Set one of the two registry variables mentioned below (which are
on by default from 11.1).
It will take effect immediately for newly compiled SQL
statements.
might need to flush the package cache for dynamic statements
that were previously compiled.
Static sections will need to be rebound.
>db2set -immediate DB2COMPOPT="NO_UPDATE_COMP"
or
db2set -immediate DB2COMPOPT="NO_SCALARQ2LOJ"
--No instance recycle needed.
Solution
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : IT31525 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
23.01.2020
30.06.2020
30.06.2020
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)