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

USING ANCHORED DATA TYPES CAN CAUSE AN UNEXPECTED ERROR WHEN THE ANCHOR
OBJECT IS A TABLE WITH IMPLICITLY HIDDEN COLUMNS

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
An anchored data type defines a data type based on another SQL 
object such as a column, global variable, SQL variable, SQL 
parameter, or the row of a table or view.  Unexpected errors 
including SQL0901N can occur when using anchored data types to 
anchor to the row of a table with implicitly hidden columns. 
 
Here is an example of the type of error that can occur when 
using these data types: 
 
create table tt1(c0 timestamp not null implicitly hidden 
generated always for each row on update as row change timestamp, 
c1 int, c2 varchar(10), c3 decimal(5,2)) 
DB20000I  The SQL command completed successfully. 
 
create type r1 as row anchor row tt1 
DB20000I  The SQL command completed successfully. 
 
create type a1 as r1 array[] 
DB20000I  The SQL command completed successfully. 
 
create variable gv1 a1 
DB20000I  The SQL command completed successfully. 
 
set gv1[1] = null 
DB21034E  The command was processed as an SQL statement because 
it was not a 
valid Command Line Processor command.  During SQL processing it 
returned: 
SQL0901N  The SQL statement failed because of a non-severe 
system error. 
Subsequent SQL statements can be processed.  (Reason "Invalid 
collation ID".) 
SQLSTATE=58004
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* ALL                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to product version 9.7 fix pack 8.  Row data types   * 
* anchored to a table with implicitly hidden columns that were * 
* created on an earlier release will need to be dropped and    * 
* recreated.                                                   * 
****************************************************************
Local-Fix:
verfügbare FixPacks:
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
Problem was first fixed in version 9.7 fix pack 8
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
02.10.2012
01.04.2013
01.04.2013
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP8
Problem behoben lt. FixList in der Version
9.7.0.8 FixList