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 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
DB2 Version 9.5 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.5 Fix Pack 10 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)