MINI MINI MANI MO

Path : /opt/oracle/product/18c/dbhomeXE/dmu/dmu/admin/
File Upload :
Current File : //opt/oracle/product/18c/dbhomeXE/dmu/dmu/admin/drop_repository.sql

Rem
Rem $Header: duma/admin/drop_repository.sql /main/20 2017/10/16 02:25:43 xiaojuya Exp $
Rem
Rem drop_repository.sql
Rem
Rem Copyright (c) 2008, 2017, Oracle and/or its affiliates. 
Rem All rights reserved.
Rem
Rem    NAME
Rem      drop_repository.sql - Drop tables, views, and types needed by
Rem                            the Database Migration Assistant for Unicode
Rem
Rem    DESCRIPTION
Rem      This script drops DMU repository DB objects.
Rem
Rem    NOTES
Rem      Run as SYS user.
Rem
Rem    MODIFIED   (MM/DD/YY)
Rem    xiaojuya    09/30/17 - Fix bug 26830793
Rem    tianxwan    09/07/17 - Add drop table system.dum$segs
Rem    tianxwan    08/09/17 - Fix bug 26593845
Rem    xiaojuya    05/19/15 - code cleanup
Rem    xiaojuya    03/13/15 - Fix bugs 20114900,20176724
Rem    tiadong     04/10/14 - Improvements to DMU Logging
Rem    fangzhan    02/17/14 - Fix bug 18245145
Rem    tiadong     09/25/13 - fix bug 17433534
Rem    tiadong     07/02/13 - bulk cleansing support
Rem    mtozawa     09/09/11 - add DUM$SCHEMA_PROFILES
Rem    fangzhan    09/16/10 - Fix bug 9718003
Rem    qicheng     01/05/10 - add drop table system.dum$table_chunks
Rem    qicheng     12/29/09 - Put drop session table to the last line
Rem    mtozawa     10/09/09 - Add DUM$TABLE_PROFILE and DUM$COLUMN_PROFILE
Rem                           tables and their seed data
Rem                           Add DUM$SESSIONS table
Rem    mtozawa     03/23/09 - schema version 0.6
Rem    mtozawa     03/04/08 - Created
Rem
SET ECHO ON
SET FEEDBACK 1
SET NUMWIDTH 10
SET LINESIZE 80
SET TRIMSPOOL ON
SET TAB OFF
SET PAGESIZE 100

DROP TABLE system.dum$types PURGE
/
DROP TABLE system.dum$indexes PURGE
/
DROP TABLE system.dum$sqltext PURGE
/
DROP TABLE system.dum$exceptions PURGE
/
DROP TABLE system.dum$attributes PURGE
/
DROP TABLE system.dum$columns PURGE
/
DROP TABLE system.dum$tables PURGE
/
DROP TABLE system.dum$column_profiles PURGE
/
DROP TABLE system.dum$table_profiles PURGE
/
DROP TABLE system.dum$schema_profiles PURGE
/
DROP TABLE system.dum$database PURGE
/
DROP TABLE system.dum$segments PURGE
/
DROP TABLE system.dum$tablespaces PURGE
/
DROP TABLE system.dum$table_chunks PURGE
/
DROP TABLE system.dum$sessions PURGE
/
DROP TABLE system.dum$session_history PURGE
/
DROP TABLE system.dum$chunks_info PURGE
/
DROP TABLE system.dum$segs CASCADE CONSTRAINTS PURGE
/
DROP TYPE system.dum$table_id_array
/
DROP TYPE system.dum$table_name_array
/
DROP TYPE system.dum$adt_varchar2
/
DROP TYPE system.dum$long_update_info_array
/
DROP TYPE system.dum$long_update_info
/
DROP TYPE system.dum$clob_update_info_array
/
DROP TYPE system.dum$clob_update_info
/
DROP TYPE system.dum$xmltype_update_info_array
/
DROP TYPE system.dum$xmltype_update_info
/
DROP TYPE system.dum$ddl_statement_table
/
DROP TYPE system.dum$ddl_statement
/
DROP TYPE system.dum$col_collation_table
/
DROP TYPE system.dum$col_collation
/
DROP VIEW sys.dum$obj$
/

OHA YOOOO