home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Neueste VersionenFixList
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
Haben Sie Probleme? - Kontaktieren Sie uns.
Kostenlos registrieren anmeldung-x26
Kontaktformular kontakt-x26

DB2 - Problembeschreibung

Problem IC78261 Status: Geschlossen

ADMIN_DROP_SCHEMA FAILED WHEN AUTO_REVAL IS DISABLED AND ONLY INOPERATIVE
OBJECTS EXIST IN A SCHEMA

Produkt:
DB2 FOR LUW / DB2FORLUW / 970 - DB2
Problembeschreibung:
When only inoperative objects exist in a schema, the stored 
procedure ADMIN_DROP_SCHEMA does not remove the schema and 
dependent objects correctly. 
 
Below is the script that creates a database and tests 
ADMIN_DROP_SCHEMA. It first creates a table and a view, then 
drops the table. Dropping the schema using admin_drop_schema 
results in an error. However, the view and schema are removed. 
 
Then the script does the same test but with AUTO_REVAL disabled. 
This gives another error, and does not remove the view. 
 
--drop database tmp; 
create database tmp; 
connect to tmp; 
call sysproc.sysinstallobjects('DB2AC', 'C', null, null); 
create table sven.test(x integer not null, y integer); 
create view sven.v as select * from sven.test; 
drop table sven.test; 
call sysproc.admin_drop_schema('SVEN', null, 'E', 'E'); 
select * from e.e; 
list tables for schema sven; 
 
connect reset; 
update db cfg for tmp using auto_reval disabled; 
connect to tmp; 
create table sven2.test(x integer not null, y integer); 
create view sven2.v as select * from sven2.test; 
drop table sven2.test; 
call sysproc.admin_drop_schema('SVEN2', null, 'E2', 'E2'); 
select * from e2.e2; 
list tables for schema sven2;
Problem-Zusammenfassung:
**************************************************************** 
* USERS AFFECTED:                                              * 
* DB2 for LUW                                                  * 
**************************************************************** 
* PROBLEM DESCRIPTION:                                         * 
* See Error Description                                        * 
**************************************************************** 
* RECOMMENDATION:                                              * 
* Drop underlying objects and the schema manually using        * 
* corresponding DROP statements.                               * 
****************************************************************
Local-Fix:
Drop underlying objects and the schema manually using 
corresponding DROP statements.
verfügbare FixPacks:
DB2 Version 9.7 Fix Pack 6 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 7 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 8 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9 for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 9a for Linux, UNIX, and Windows
DB2 Version 9.7 Fix Pack 10 for Linux, UNIX, and Windows

Lösung
Workaround
keiner bekannt / siehe Local-Fix
Weitere Daten
Datum - Problem gemeldet    :
Datum - Problem geschlossen :
Datum - der letzten Änderung:
23.08.2011
06.06.2012
06.06.2012
Problem behoben ab folgender Versionen (IBM BugInfos)
Problem behoben lt. FixList in der Version
9.7.0.6 FixList