home clear 64x64
en blue 200x116 de orange 200x116 info letter User
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 IC96093 Status: Closed

INCORRECT RESULT IN UNICODE DB WITH LIKE PREDICATE AND FULLWIDTH UNDERSCORE
WILD CHARACTER ON A CLOB COLUMN

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
In a unicode database, running a query might return incorrect 
results if it contains a like predicate against a clob column, 
and the pattern to match contains a fullwidth underscore wild 
character (X'EFBCBF'). 
 
For example: 
create table tbl1 ( id int, cclob20oct clob(20)) 
insert into tbl1 values (1, X'F094AE8041') 
select id from tbl1 where cclob20oct like X'F094AE80EFBCBF' 
ID 
----------- 
 
  0 record(s) selected. 
 
<-- incorrect result returns : the matching row is not returned. 
 
Recall that the fullwidth underscore is a wildcard character. 
See the Information Center for details.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* UTF-8 databases                                              * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Apply this APAR                                              * 
****************************************************************
Local Fix:
Use halfwidth underscore character (X'5F') instead of a 
fullwidth underscore character (X'EFBCBF').
available fix packs:
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

Solution
Apply this APAR
Workaround
not known / see Local fix
BUG-Tracking
forerunner  : APAR is sysrouted TO one or more of the following: IC97793 IC97851 IC98057 IC98058 
follow-up : 
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
19.09.2013
16.12.2013
16.12.2013
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.9 FixList
9.7.0.9 FixList