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

MERGE STATEMENT RETURNS SQL0901N ("COLUMN NUMBER OUT OF RANGE")

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
A MERGE statement may result in SQL901N ("COLUMN NUMBER OUT OF 
RANGE") when the following conditions are satisfied: 
 
(1) The MERGE statement is on a target table (T1) and there are 
DELETE (or INSERT) as well as UPDATE operations in the MERGE 
statements. 
 
(2) a foreign key constraint (with ENABLE QUERY OPTIMIZATION) 
exists between T1 (as the parent) and T2 (as the child). 
 
(3) The merge target table (T1) has a dependent immediate MQT or 
a 
deferred MQT with staging table, and the MQT definition involves 
a join between T1 and T2 where the join predicates involve the 
corresponding parent key and foreign key columns.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All users                                                    * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 Version 10.1 Fix Pack 4 or above.             * 
****************************************************************
Local-Fix:
A potential workaround is to DISABLE QUERY OPTIMIZATION for 
those foreign key constraints where the parent and child tables 
are referenced in the join of the MQTs being maintained.
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
Problem has been fixed in DB2 Version 10.1 Fix Pack 4 and above.
Workaround
keiner bekannt / siehe Local-Fix
Bug-Verfolgung
Vorgänger  : APAR is sysrouted TO one or more of the following: IC99404 
Nachfolger : 
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
27.09.2013
02.06.2014
02.06.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.4 FixList