DB2 - Problembeschreibung
Problem IC84304 | Status: Geschlossen |
DECODE FUNCTION MAY NOT MATCH NULL VALUES | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problembeschreibung: | |
When the first parameter of the DECODE function is a string type, it may not match a NULL value at an even number position of the DECODE function. This also applies to '' (empty string) when database is in ORA mode. Example: select decode (a1, null, 'null', '00') as a1 from (select cast (NULL as CHAR) as a1 from table (values(1))); returns '00' instead of 'null'. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * All * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 10.1 Fix Pack 1. * **************************************************************** | |
Local-Fix: | |
verfügbare FixPacks: | |
DB2 Version 10.1 Fix Pack 1 for Linux, UNIX, and Windows | |
Lösung | |
The issue is fixed in DB2 Version 10.1 Fix Pack 1. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 13.06.2012 08.11.2012 08.11.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
Problem behoben lt. FixList in der Version | |
10.1.0.1 | |
10.5.0.1 |