DB2 - Problem description
Problem IC73772 | Status: Closed |
ERROR MESSAGE NEEDED WHEN TEXT SEARCH RUNS WITH LEFT OUTER JOIN AND FULL OUTER JOIN | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
DB2 Text Search does not support left outer join and full outer join. Sample queries are db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a LEFT OUTER JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = 1 with ur"; SQL20425N Column "unknown column" in table "unknown table" was specified as an argument to a text search function, but a text search index does not exist for the column. SQLSTATE=38H12 and db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a FULL OUTER JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = 1 with ur"; SQL20425N Column "unknown column" in table "unknown table" was specified as an argument to a text search function, but a text search index does not exist for the column. SQLSTATE=38H12 Current error messsage SQL20425N Column "unknown column" in table "unknown table" was specified as an argument to a text search function, but a text search index does not exist for the column. SQLSTATE=38H12 does not give user enough information about the unsupported feature. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * DB2 Text Search does not support left outer join and full * * outer * * join. * * * * * * * * Sample queries are * * * * * * * * db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a LEFT * * OUTER * * JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = * * 1 * * with ur"; * * * * * * * * SQL20425N Column "unknown column" in table "unknown table" * * was * * specified as * * * * * * * * an argument to a text search function, but a text search * * index * * does not * * * * exist for the column. SQLSTATE=38H12 * * * * * * * * and * * * * * * * * db2 "SELECT a.col1, a.col2, b.col1, b.col2 FROM t1 a FULL * * OUTER * * JOIN t2 b ON a.col1=b.col1 WHERE CONTAINS(b.col2, 'DATA') = * * 1 * * with ur"; * * * * * * * * SQL20425N Column "unknown column" in table "unknown table" * * was * * specified as * * * * * * * * an argument to a text search function, but a text search * * index * * does not * * * * exist for the column. SQLSTATE=38H12 * * * * * * * * * * * * * * * * * * * * Current error messsage * * * * * * * * SQL20425N Column "unknown column" in table "unknown table" * * was * * specified as * * * * * * * * an argument to a text search function, but a text search * * index * * does not * * * * exist for the column. SQLSTATE=38H12 * * * * * * * * does not give user enough information about the unsupported * * * * feature. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 4 * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 4 for Linux, UNIX, and Windows | |
Solution | |
Upgrade to DB2 Version 9.7 Fix Pack 4 to resolve this problem. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 11.01.2011 29.04.2011 29.04.2011 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP4 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.4 |