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 IT00814 Status: Geschlossen

WHEN LIKE CLAUSE IS USED IN SELECT STATEMENT, AND VALUE FOR LIKE CLAUSE
APPEARS IN THE STATEMENT AGAIN, SQL0206N MIGHT OCCUR

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
When LIKE clause is used in a SELECT statement, and the value 
specified for the LIKE clause appears in the statement again, 
then CLPPlus is wrongly replacing this value with the dummy 
string, and hence the SQL fails. 
 
Example: 
 
SELECT * 
FROM   tab01 
WHERE  val1 LIKE 'AAA' AND 
       val2 = 'AAA' 
 
It will cause SQL0206N like this. 
SQL0206N  "CLPPLUS976LIKEHNDLMCN0070" is not valid in the 
context where it is used. 
 
Using V9.7 FP8 or earlier Fix Packs, we will not get SQL0206N, 
but the query sent to the server might be invalid.
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All                                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to Version 9.7 Fix Pack 10                           * 
****************************************************************
Local-Fix:
Set the "environment variable substitution" off by: 
 
set envvarsubst off;
Lösung
Problem was first fixed in DB2 UDB Version 9.7 Fix Pack 10
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
04.04.2014
17.11.2014
17.11.2014
Problem behoben ab folgender Versionen (IBM BugInfos)
9.7.FP10
Problem behoben lt. FixList in der Version
9.7.0.10 FixList