DB2 - Problembeschreibung
| Problem IC77972 | Status: Geschlossen |
ADMIN_MOVE_TABLE FAILS WITH ERROR SQL2103N WHEN THERE ARE TWO INDEXES ON THE SAME COLUMN. | |
| Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
| Problembeschreibung: | |
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-Zusammenfassung: | |
**************************************************************** * 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. | |
| verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows | |
| Lösung | |
| Workaround | |
keiner bekannt / siehe Local-Fix | |
| Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC84547 Nachfolger : | |
| Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 08.08.2011 04.09.2012 04.09.2012 |
| Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7. | |
| Problem behoben lt. FixList in der Version | |
| 9.7.0.6 |
|