home clear 64x64
en blue 200x116 de orange 200x116 info letter User
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 IC67198 Status: Geschlossen

SQL407N RETURNED WHEN INSERTING INTO OR UPDATING TABLE WITH GENE RATED BY
DEFAULT ROW CHANGE TIMESTAMP COLUMN AND BEFORE TRIGGER

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
SQL407N is returned upon INSERT/UPDATE on a table T where: 
- T has a generated column (RCTS) defined as FOR EACH ROW ON 
UPDATE AS ROW CHANGE TIMESTAMP 
- Column RCTS is specified with GENERATED BY DEFAULT 
- T has a corresponding BEFORE INSERT/UPDATE trigger 
- The trigger body has a SET statement that modifies a new 
transition variable from T 
- A value has been provided in the INSERT/UPDATE statement for 
column RCTS
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* SQL407N is returned upon INSERT/UPDATE on a table T where:   * 
* - T has a generated column (RCTS) defined as FOR EACH ROW ON * 
* UPDATE AS ROW CHANGE TIMESTAMP                               * 
* - Column RCTS is specified with GENERATED BY DEFAULT         * 
* - T has a corresponding BEFORE INSERT/UPDATE trigger         * 
* - The trigger body has a SET statement that modifies a new   * 
* transition variable from T                                   * 
* - A value has been provided in the INSERT/UPDATE statement   * 
* for column RCTS                                              * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* First fixed in DB2 Version 9.7 Fix Pack 3.                   * 
****************************************************************
Local-Fix:
- Specify the DEFAULT keyword as the value for the ROW CHANGE 
TIMESTAMP column in the INSERT/UPDATE statement. 
- Do not specify an explicit value for the ROW CHANGE TIMESTAMP 
column in the INSERT/UPDATE statement. 
- Specify GENERATED ALWAYS, instead of GENERATED BY DEFAULT, for 
the ROW CHANGE TIMESTAMP column
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Upgrade to DB2 Version 9.7 Fix Pack 3.
Workaround
N/A
Kommentar
N/A
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
12.03.2010
27.09.2010
27.09.2010
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP3
Problem behoben lt. FixList in der Version
9.7.0.3 FixList
9.7.0.3 FixList