home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

DB2 - Problem description

Problem IT08158 Status: Closed

SYSPROC.ADMIN_DROP_SCHEMA RETURNS SQL0478N WHEN THE SCHEMA HAS
'CREATED GLOBAL TEMPORARY TABLE (CGTT)'

product:
DB2 FOR LUW / DB2FORLUW / A10 - DB2
Problem description:
SYSPROC.ADMIN_DROP_SCHEMA fails to drop the schema when the 
schema has 'Created global temporary table (CGTT)'. 
If the schema has regular table, admin_drop_schema automatically 
drops the table and drops the schema. 
If it has 'Created global temporary table (CGTT)', it fails 
with: 
SQL0478N  DROP, ALTER, TRANSFER OWNERSHIP 
or REVOKE on object type "SCHEMA" cannot be processed because 
there is 
an object "MYSCHEMA.TABLE1", of type "CREATED TEMPORARY 
TABLE", which 
depends on it.  SQLSTATE=42893
Problem Summary:
**************************************************************** 
* USERS AFFECTED:                                              * 
* All DB2 V10.1 users                                          * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Upgrade to DB2 V10.1 Fix Pack 5 or higher.                   * 
****************************************************************
Local Fix:
Drop the CGTT manually and run sysproc.admin_drop_schema
Solution
Fixed in DB2 V10.1 Fix Pack 5.
Workaround
not known / see Local fix
Timestamps
Date  - problem reported    :
Date  - problem closed      :
Date  - last modified       :
07.04.2015
14.07.2015
14.07.2015
Problem solved at the following versions (IBM BugInfos)
Problem solved according to the fixlist(s) of the following version(s)
10.1.0.5 FixList