DB2 - Problembeschreibung
| Problem IC98203 | Status: Geschlossen |
SUBSTRB MAY RETURN WRONG RESULT WHEN START OR LENGTH VALUE IS NULL | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / A50 - DB2 | |
| Problembeschreibung: | |
The SUBSTRB built-in function may return an empty string intead
of the expected null result when the start value (second
argument)
or length value (third argument) is null, e.g.:
create table a (c1 int)
DB20000I The SQL command completed successfully.
insert into a values(NULL)
DB20000I The SQL command completed successfully.
select substrb('hello',c1) from a
1
-----
<= should be null, empty string instead
1 record(s) selected. | |
| Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 10.5 fix pack 4 * **************************************************************** | |
| Local-Fix: | |
| verfügbare FixPacks: | |
DB2 Cancun Release 10.5.0.4 (also known as Fix Pack 4) for Linux, UNIX, and Windows | |
| Lösung | |
First fixed in DB2 version 10.5 fix pack 4 | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 09.12.2013 08.09.2014 08.09.2014 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
| Problem behoben lt. FixList in der Version | |
| 10.5.0.4 |
|