DB2 - Problembeschreibung
Problem IC77512 | Status: Geschlossen |
UNEXPECTED SQL670N RETURNED BY ALTER TABLE ... ALTER COLUMN SET DATA TYPE | |
Produkt: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problembeschreibung: | |
When the same ALTER TABLE ... ALTER COLUMN SET DATA TYPE is called multiple times it may return a SQL0670N on subsequent attempts if the following two conditions are met as part of the call: - the new data type specified is identical to the existing data type of the column - the data type is either DECIMAL or TIMESTAMP Example: $ db2 "create table tbl4k(col1 decimal(18,0))" DB20000I The SQL command completed successfully. $ db2 "alter table tbl4k alter column col1 set data type decimal(18,0)" DB20000I The SQL command completed successfully. $ db2 "alter table tbl4k alter column col1 set data type decimal(18,0)" DB21034E The command was processed as an SQL statement because it was not a valid Command Line Processor command. During SQL processing it returned: SQL0670N The row length of the table exceeded a limit of "4005" bytes. (Tablespace "USERSPACE1".) SQLSTATE=54010 - This APAR will remove the extraneous error message from being presented on the subsequent executions of the command. - The error itself can be ignored as this statement has no effect on column definition, even if successful. | |
Problem-Zusammenfassung: | |
**************************************************************** * USERS AFFECTED: * * DB2 UDB Version 9.7. * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to Version 9.7 FixPack 7. * **************************************************************** | |
Local-Fix: | |
Avoid running the same command multiple times. | |
verfügbare FixPacks: | |
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows | |
Lösung | |
Problem was first fixed in DB2 UDB Version 9.7 FixPack 7. | |
Workaround | |
keiner bekannt / siehe Local-Fix | |
Bug-Verfolgung | |
Vorgänger : APAR is sysrouted TO one or more of the following: IC83537 Nachfolger : | |
Weitere Daten | |
Datum - Problem gemeldet : Datum - Problem geschlossen : Datum - der letzten Änderung: | 13.07.2011 17.12.2012 17.12.2012 |
Problem behoben ab folgender Versionen (IBM BugInfos) | |
9.7.FP7 | |
Problem behoben lt. FixList in der Version | |
9.7.0.7 |