home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
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
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IC79085 Status: Closed

DB2 Text Search query issue with outer join

product:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problem description:
Depending on the specific search term a query may fail with 
SQLCODE: -20425, Column <columnname>  in table <tablename> was 
specified as an argument to a text search function, but a text 
search index does not exist for the column. 
 
 
 
Sample query: 
 
SELECT asset.assetnum, 
         COALESCE(l_asset.description, asset.description) 
description, asset.description bl_description from l_asset 
         RIGHT OUTER JOIN asset ON 
(l_asset.ownerid=asset.assetuid and l_asset.langcode='EN') 
         WHERE (((l_asset.description is null and 
contains(asset.description,' "FLD112" ') =1 ) 
                     OR 
                       (l_asset.description is not null and 
contains(l_asset.description,' "FLD112" ') =1 )) and siteid = 
'BEDFORD') ; 
 
Fails with the following error: 
 
DB2 SQL error: SQLCODE: -20425, SQLSTATE: 38H12, SQLERRMC: 
 
DESCRIPTION:  Message: Column "DESCRIPTION" in table "" was 
specified as an argument to a text search function, but a text 
search index does not exist for the column.
Problem Summary:
Local Fix:
available fix packs:
DB2 Version 9.7 Fix Pack 5 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Solution
Workaround
not known / see Local fix
Comment
The feature will be supported in db2_v97fp5
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
06.10.2011
14.10.2011
08.05.2012
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
9.7.0.5 FixList