DB2 - Problem description
Problem IC77972 | Status: Closed |
ADMIN_MOVE_TABLE FAILS WITH ERROR SQL2103N WHEN THERE ARE TWO INDEXES ON THE SAME COLUMN. | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
ADMIN_MOVE_TABLE fails with following error, when there are two indexes on the same column: SQL2103N The ADMIN_MOVE_TABLE procedure could not be completed because some aspect of either the source table or target table is not supported by the ADMIN_MOVE_TABLE procedure. Reason code: "17". SQLSTATE=5UA0M The problem is re creatable as follows: CREATE TABLE "ihubv97 "."tab1" ("NUM" VARCHAR(12) NOT NULL ) CREATE INDEX "ihubv97 "."abc" ON "ihubv97"."tab1" ("NUM" ASC); CREATE UNIQUE INDEX "ihubv97 "."xyz" ON "ihubv97 "."tab1" ("NUM" ASC); CALL SYSPROC.ADMIN_MOVE_TABLE('ihubv97 ', 'tab1', 'USERSPACE1', 'USERSPACE1', 'USERSPACE1', '', '', '', '', '', 'MOVE') The above command fails with error: SQL2103N | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * Customer using ADMIN_MOVE_TABLE can be affected by this * * APAR * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Please upgrade to the latest version of DB2 V97 or above. * **************************************************************** | |
Local Fix: | |
To create the "UNIQUE" index first and then the other index. | |
available fix packs: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
Solution | |
Workaround | |
not known / see Local fix | |
BUG-Tracking | |
forerunner : APAR is sysrouted TO one or more of the following: IC84547 follow-up : | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 08.08.2011 04.09.2012 04.09.2012 |
Problem solved at the following versions (IBM BugInfos) | |
9.7. | |
Problem solved according to the fixlist(s) of the following version(s) | |
9.7.0.6 |