suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IT28831 Status: Geschlossen

UPDATE STATEMENT WITH CORRELATED SCALAR SUBQUERY FAILS WITH SQLCODE -407

Produkt:
DB2 FOR LUW / DB2FORLUW / B10 - DB2
Problembeschreibung:
Starting with Db2 v11.1.4.4, an UPDATE statement that includes a
correlated scalar subquery may incorrectly return SQLCODE -407,
SQLSTATE 23502 at run time if the scalar subquery returns a NULL
result.

This may happen even if the assignment of the NULL value is
protected with - for example - COALESCE:

    update T set NotNullableColumn = coalesce((select tabname
from syscat.tables where tabname = T.COL1), T.COL2)
Problem-Zusammenfassung:
****************************************************************
* USERS AFFECTED:                                              *
* ALL                                                          *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 11.1 Mod 4 Fixpack 5 or higher                *
****************************************************************
Local-Fix:
db2set DB2COMPOPT=NO_UPDATE_COMP
Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
17.04.2019
16.01.2020
16.01.2020
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version