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 IT00649 Status: Geschlossen

INCORRECT RESULTS FROM INSERT WITH VALUES, WHEN INSERTING TO A
COLUMN-ORGANIZED TABLE

Produkt:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problembeschreibung:
A NULL value is incorrectly inserted into a column of a 
column-organized table when the VALUES clause contains an 
expression with a term, from the table being inserted into, that 
is a scalar subselect. 
 
For example, after executing the following SQL statements, the 
table should contain the values (1) and (2), but the table 
contains the values (1) and (NULL) instead: 
 
create table t1 (i1 int) organize by column; 
insert into t1 values (1); 
insert into t1 values ((select i1 from t1)+1);
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* The problem only affects column-organized tables.            * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 version 10.5.0.4.                             * 
****************************************************************
Local-Fix:
Assign the values using scalar subselect to a variable first and 
then insert the row using that variable.
verfügbare FixPacks:
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows
DB2 Version 10.5 Fix Pack 9 for Linux, UNIX, and Windows

Lösung
The problem is first fixed in DB2 version 10.5.0.4.
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.03.2014
08.09.2014
07.04.2015
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.5.0.4 FixList