DB2 - Problem description
Problem IC88471 | Status: Closed |
SQL0901N ERROR MAY BE RETURNED WHEN CREATING AN INDEX ON A USER-DEFINED TEMPORARY TABLE. | |
product: | |
DB2 FOR LUW / DB2FORLUW / A10 - DB2 | |
Problem description: | |
Problem description: A create index on a user-defined temporary table (also knows as CGTT) may fail with the error SQL0901N. The following example may reproduce the problem : db2 "create user temporary tablespace ts1" db2 "create table t1 (i1 int, i2 int)" db2 "insert into t1 values (1,1),(2,2),(3,3)" db2 "create global temporary table session.t2 as (select i1,i2 from t1) definition only" db2 "insert into session.t2 values (4,4),(5,5),(6,6)" db2 "create index session.t2_i1 on session.t2 (i1,i2)" The last CREATE INDEX statement is where the failure may occur and return : SQL0901N The SQL statement failed because of a non-severe system error. Subsequent SQL statements can be processed. (Reason "".) SQLSTATE=58004 | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 version 10.1.0.3. * **************************************************************** | |
Local Fix: | |
If possible instead of a user-defined temporary table a regular table could be used. | |
available fix packs: | |
DB2 Version 10.1 Fix Pack 3 for Linux, UNIX, and Windows | |
Solution | |
The problem is first fixed in DB2 version 10.1.0.3. | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 21.11.2012 01.10.2013 01.10.2013 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.1.0.3 | |
10.1.0.3 |