DB2 - Problem description
Problem IC85385 | Status: Closed |
ADMIN_MOVE_TABLE can fail with SQL0010N or a SQL0104N syntax error due to the length of comments. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
If there are multiple comments attached to a table and its columns, and these comments exceed 1kB in size, OTM cannot be used to move the table. ADMIN_MOVE_TABLE fails with a sytax error, since the COMMENT ON statement that copies the remarks gets truncated. The error will be seen if the length of the command to set the comments exceeds 1kb: COMMENT ON "SCHEMA"."TABLE" ("COL1" IS 'This is the comment for col1', "COL2" IS 'This is the comment on col2', ... etc. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Users of ADMIN_MOVE_TABLE with comments exceeding 1kb. * **************************************************************** * PROBLEM DESCRIPTION: * * ADMIN_MOVE_TABLE can fail with SQL0010N or a SQL0104N syntax * * error due to the length of comments. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 Version 9.7 Fix Pack 7. * **************************************************************** | |
Local Fix: | |
Shorten the length of comments on the table/columns. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Solution | |
First fixed in DB2 Version 9.7 Fix Pack 7. | |
Workaround | |
Shorten the length of comments on the table/columns. | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC88602 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 18.07.2012 24.10.2012 24.10.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7.FP7 | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.7 |