DB2 - Problem description
Problem IC88306 | Status: Closed |
SQL0901N MAY BE RETURNED WHEN DECREASING THE LENGTH OF A VARCHAR TYPE COLUMN VIA ALTER TABLE STATEMENT | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
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 Summary: | |
**************************************************************** * 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: | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in DB2 Version 10.1 and Fix Pack 2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.11.2012 25.01.2013 25.01.2013 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.2 | |
10.5.0.2 |