DB2 - Problem description
Problem IC66502 | Status: Closed |
SPACE IN COLUMN NAME CREATES INRECOGNIZABLE DB2LOOK STATEMENT FOR THE COLUMN -WHILE RUNNING DB2LOOK OUTPUT. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
While creating columns of a table - with creating space in the column name it creates wrong db2look output. If they create a column with the following options. Example below : db2 create table test (\"CO L1 \" varchar(15), \"COL2\" - integer,\"COL3\" integer) -- (here space in between COL1 name) if after customer do runstats of the table -it create sample runstats in db2look output. But while doing runstats with the statement created in db2look- it fails to recognize the column. | |
Problem Summary: | |
While creating columns of a table - with creating space in the column name it creates wrong db2look output. If they create a column with the following options. Example below : db2 create table test (\"CO L1 \" varchar(15), \"COL2\" - integer,\"COL3\" integer) -- (here space in between COL1 name) if after customer do runstats of the table -it create sample runstats in db2look output. But while doing runstats with the statement created in db2look- it fails to recognize the column. | |
Local Fix: | |
Use double quotes between the column name. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 2 for Linux, UNIX, and Windows | |
Solution | |
Workaround | |
Use double quotes between the column name. | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.02.2010 18.05.2010 18.05.2010 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.2 |