suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT15371 Status: Closed

ALTER OF CHAR/VARCHAR COLUMN TO GRAPHIC/VARGRAPHIC DATA TYPE IN A
NON-UNICODE DATABASE COULD CAUSE SQL2216N

product:
DB2 FOR LUW / DB2FORLUW / A50 - DB2
Problem description:
Access to a table could fail with SQL2216N SQL error "-301" if 
the following is true: 
- non-Unicode database 
- ALTER TABLE  ALTER COLUMN  was done to change column data type 
from CHAR/VARCHAR  to GRAPHIC/VARGRAPHIC data type and returned 
SUCCESS 
- there is data in the table
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 UDB Version 10.5                                         * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 10.5 FixPack 9.                           * 
****************************************************************
Local Fix:
Avoid ALTER TABLE  ALTER COLUMN from CHAR/VARCHAR   to 
GRAPHIC/VARGRAPHIC data type in a non-Unicode database if table 
has data. 
Instead, export data from the table, drop and recreate table 
with the new GRAPHIC/VARGRAPHIC data type column and reload 
data.
Solution
Problem was first fixed in DB2 UDB Version 10.5 FixPack 9.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
20.05.2016
27.09.2017
27.09.2017
Problem solved at the following versions (IBM BugInfos)
9.0.
Problem solved according to the fixlist(s) of the following version(s)