DB2 - Problem description
Problem IC63273 | Status: Closed |
CONTROL CENTER PUTS THE EXTRA DOUBLE QUOTES AROUND THE TABLE NAM E THAT IS USING MIXED CASE AND IT CAUSES THE SQL0104N PROBLEM. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 950 - DB2 | |
Problem description: | |
When users double click on a table which table name is using mixed case in DB2 V9.5 FP4 Control Center, they will get the SQL0104N error message. e.g. 1. save the following in Test.txt file create table "Test"."MixedCase" (id int); 2. run the command below to create this table db2 -tvf Test.txt 3. open Control Center and double click on this table 4. Control Center puts the extra double quotes around the table name as below: SELECT * FROM "Test".""MixedCase"" and the following error message is returned. com.ibm.db.DataException: A database manager error occurred. : [IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token """" was found following "ELECT * FROM "Test".". Expected tokens may include: "<space>". SQLSTATE=42601 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * n/a * **************************************************************** * PROBLEM DESCRIPTION: * * When users double click on a table which table name is using * * mixed case in DB2 V9.5 FP4 Control Center, they will get the * * SQL0104N error message. * * * * e.g. * * * * 1. save the following in Test.txt file * * create table "Test"."MixedCase" (id int); * * * * 2. run the command below to create this table * * db2 -tvf Test.txt * * * * 3. open Control Center and double click on this table * * * * 4. Control Center puts the extra double quotes around the * * table name as below: * * * * SELECT * FROM "Test".""MixedCase"" * * * * and the following error message is returned. * * * * com.ibm.db.DataException: A database manager error occurred. * * : [IBM][CLI Driver][DB2/NT] SQL0104N An unexpected token * * """" was found following "ELECT * FROM "Test".". Expected * * tokens may include: "<space>". SQLSTATE=42601 * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.5 Fix Pack 6. * **************************************************************** | |
Local Fix: | |
available fix packs: | |
DB2 Version 9.5 Fix Pack 6a for Linux, UNIX, and Windows | |
Solution | |
Problem was first fixed in Version 9.5 Fix Pack 6. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 18.09.2009 13.05.2010 13.05.2010 |
Problem solved at the following versions (IBM BugInfos) | |
9.5.FP6 | |
Problem solved according to the fixlist(s) of the following version(s) |