home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC88672 Status: Geschlossen

BLOCK PUSHDOWN OF <> PREDICATE WITH EMPTY STRING AGAINST ORACLE AND
UDB IN ORA-COMPAT MODE

Produkt:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problembeschreibung:
A predicate <> with empty string and varchar/ vargraphic column 
can result in empty result of the query, e.g. 
 
select * from n1 where varchar_col <> '' 
 
when predicate is pushed down, the remote statement will be 
like: 
 
select * from <remote_schema>.<remote_tab_name> where 
varchar_col <> RPAD('', <length of varchar_col>) 
 
If the remote data source is Oracle or UDB in 
ora-varchar2-compat mode, the '' will be treated as NULL in 
remote database, and no record will match the predicate, 
resulting in empty result set. 
 
As requirement from one customer, we block pushdown of a <> 
predicate, given that the following condition are met: 
       1. one of the argument of <> is of lenght 0, and constant 
       2. federation db is in non ora string compat mode 
       3. remote DB is Oracle or UDB in ora mode (varchar2_mode 
server option is Y) 
       4. the other argument of <> is of varchar/vargraphic type
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* all platforms                                                * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to IFS V10.1                                         * 
****************************************************************
Local-Fix:
change the predicate to varchar_col is not null
verfügbare FixPacks:
DB2 Version 10.1 Fix Pack 2 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 4 for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 3a for Linux, UNIX, and Windows
DB2 Version 10.1 Fix Pack 6 for Linux, UNIX, and Windows

Lösung
v10.1
Workaround
See Error Description
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
28.11.2012
19.12.2012
19.12.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
10.1.0.2 FixList
10.5.0.2 FixList