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 IT21849 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 / B10 - 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 Version 11.1                                             *
****************************************************************
* PROBLEM DESCRIPTION:                                         *
* See Error Description                                        *
****************************************************************
* RECOMMENDATION:                                              *
* Upgrade to Db2 Version 11.1 Mod 2 Fix Pack 2.                *
****************************************************************
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
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : IT15371 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
04.08.2017
10.10.2017
10.10.2017
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)