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 IC81496 Status: Closed

QUERIES WITH LIKE OPERATORS MIGHT RETURN INCORRECT RESULTS DUE TO AN
INVALID HIGHEST PADDING CHARACTER

product:
DB2 FOR LUW / DB2FORLUW / 980 - DB2
Problem description:
SQL statements with LIKE operators might not return the correct 
rows that are expected to be returned. This problem arises when 
all the following conditions are met: 
 
a) Unicode database using language aware collation is involved. 
b) The SQL statement includes a LIKE predicate or a substring 
function involved in a basic predicate. 
c) The LIKE predicate compares UTF-8 strings that contains 
characters encoded between 0xEE8080 to 0xEFBFBF. 
d) The EXPLAIN statement  shows the predicate filter rows by 
start or stop key predicate. 
 
Affected platforms: AIX 64-bit, Linux 64-bit System z 
(linux390), Linux 32-bit, linux 64 bit PPC 
 
After applying a fix pack or an APAR, perform the following 
steps: 
 
1. Rebind all packages using the db2rbind all command. 
2. Refresh the MQTs using the REFRESH TABLE command.
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* Users who use Unicode databases on AIX 64-bit, Linux 64-bit  * 
* System z (linux390), Linux 32-bit, linux 64 bit PPC          * 
* platforms.                                                   * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* SQL statements with LIKE operators might not return the      * 
* correct rows that are expected to be returned. This problem  * 
* arises when all the following conditions are met:            * 
*                                                              * 
* a) Unicode database using language aware collation is        * 
* involved.                                                    * 
* b) The SQL statement includes a LIKE predicate or a          * 
* substring function involved in a basic predicate.            * 
* c) The LIKE predicate compares UTF-8 strings that contains   * 
* characters encoded between 0xEE8080 to 0xEFBFBF.             * 
* d) The EXPLAIN statement  shows the predicate filter rows by * 
* start or stop key predicate.                                 * 
*                                                              * 
* After applying a fix pack or an APAR, perform the following  * 
* steps:                                                       * 
*                                                              * 
* 1. Rebind all packages using the db2rbind all command.       * 
* 2. Refresh the MQTs using the REFRESH TABLE command.         * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Please upgrade to DB2 V9.8 FixPack 5 or later, then rebind   * 
* all packages and refresh MQTs.                               * 
****************************************************************
Local Fix:
Solution
This problem was first fixed in DB2 V9.8 FixPack 5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
16.02.2012
19.06.2012
19.06.2012
Problem solved at the following versions (IBM BugInfos)
9.8.FP5
Problem solved according to the fixlist(s) of the following version(s)
9.8.0.5 FixList