Rem Rem $Header: drop_remaining.sql 06-nov-2007.15:15:51 epaglina Exp $ Rem Rem drop_remaining.sql Rem Rem Copyright (c) 2007, Oracle. All rights reserved. Rem Rem NAME Rem drop_remaining.sql - Rem Rem DESCRIPTION Rem Rem Rem NOTES Rem Rem Rem MODIFIED (MM/DD/YY) Rem epaglina 10/21/07 - repos upgrade feature Rem epaglina 10/21/07 - Created Rem Rem These Java Classes could not be previously dropped. begin for v in ( select object_name from user_objects where object_type = 'JAVA CLASS' and (object_name like '%NameAddr%' or object_name like '%BSet%' or object_name like '%BitManipulation%') ) loop execute immediate 'DROP JAVA CLASS ' || '"' || v.object_name || '"'; end loop; exception when others then null; end; / commit; begin execute immediate 'DROP JAVA RESOURCE "oracle/bali/share/1_1_18"'; execute immediate 'DROP VIEW OWBREPOS'; execute immediate 'DROP TABLE WB_RT_PLATFORM_PROPERTIES CASCADE CONSTRAINTS'; execute immediate 'DROP TABLE OWBRTPS CASCADE CONSTRAINTS'; execute immediate 'DROP TABLE RAW_OWBREPOS CASCADE CONSTRAINTS'; execute immediate 'DROP TABLE DROP_MISC_OBJECTS CASCADE CONSTRAINTS'; exception when others then null; end; / commit;