DB2 - Problem description
Problem IT17549 | Status: Closed |
FODC/TRAP WHEN RUNNING SOME KIND OF QUERY | |
product: | |
DB2 FOR LUW / DB2FORLUW / B10 - DB2 | |
Problem description: | |
FODC/TRAP with following sql a query is run that contains: - at least 2 predicates against a range partitioned table OR a predicate and a join on the range partitioned table both on the same column - One of the predicates is of the form "columnName LIKE 'value'" (i.e. the LIKE keyword is used) - the column for the predicate is the range column in the partitioned table. - there is an index on the range column. problem can be recreated like create table rangetable (rangecolumn char(10) not null with default ' ') partition by range (rangecolumn) (part "part1" starting('100'), part "part2" starting('101') ending(maxvalue)); alter table rangetable add primary key (rangecolumn); select rangecolumn from rangetable where rangecolumn like ? and (substr(rangecolumn,5,2) = '99' or substr(rangecolumn,5,2) = '13'); | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 11.1 Mod 2 Fix Pack 2 or higher * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 11.1 Mod 2 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 11.1 Mod 2 Fix Pack 2 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 17.10.2016 23.06.2017 23.06.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |