DB2 - Problem description
Problem IC73693 | Status: Closed |
QUERY CONTAINING AN OUTPUT COALESCE(<COL1>,<COL2>) AND A PREDICA TE <COL2>=<CONST> MAY FAIL WITH SQL0901N IN A DPF ENVIRONMENT | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
Execution of a query may fail with SQL0901N if the following conditions are satisfied: - Database is Data Partitioning Feature (DPF) enabled - Query or a view it references or one of its nested subselects contains an expression of COALESCE (or its synonym VALUE) scalar function in the output column list - A column <col> used in the COALESCE function is also used in a equality predicate <col> = <const> where <const> is a constant or a host variable or a special register. The SQL0901N error message contains the following text: SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "probe 030 in sqlkt_pack_tuple(), msg=cold=NULLABLE zvalue=NONULLS col(".) SQLSTATE=58004 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * db2 v970 * **************************************************************** * PROBLEM DESCRIPTION: * * QUERY CONTAINING AN OUTPUT COALESCE(<COL1>,<COL2>) AND A * * PREDICATE <COL2>=<CONST> MAY FAIL WITH SQL0901N IN A DPF * * ENVIRONMENT * **************************************************************** * RECOMMENDATION: * * upgrade to db2_v97fp4 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows | |
Solution | |
Should not see SQL0901N fix in db2_v97fp4 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 06.01.2011 04.05.2011 04.05.2011 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.4 |