DB2 - Problembeschreibung
| Problem IC88306 | Status: Geschlossen |
SQL0901N MAY BE RETURNED WHEN DECREASING THE LENGTH OF A VARCHAR TYPE COLUMN VIA ALTER TABLE STATEMENT | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
| Problembeschreibung: | |
When trying to shrink the length of a VARCHAR type column, you
may receive a SQL0901N.
For example,
create table t(c1 varchar(10))
insert into t(c1) values ('abcde ')
alter table t alter column c1 set data type varchar(5)
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 "Unexpected data partitioning PD version number".)
SQLSTATE=58004 | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All users running servers on DB2 Version 10.1 on platforms * * Linux, Unix and Windows, and trying to shrink the length of * * a VARCHAR type column * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Update to DB2 Version 10.1 and Fix Pack 2 * **************************************************************** | |
| Local-Fix: | |
| verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
| Lösung | |
Problem was first fixed in DB2 Version 10.1 and Fix Pack 2 | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 17.11.2012 25.01.2013 25.01.2013 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.1.0.2 |
|
| 10.5.0.2 |
|