Rem
Rem $Header: has/mgmtdb/sql/catmgmtdbd.sql /main/5 2016/03/24 10:40:58 sahkumar Exp $
Rem
Rem catmgmtdbd.sql
Rem
Rem Copyright (c) 2015, 2016, Oracle and/or its affiliates. 
Rem All rights reserved.
Rem
Rem    NAME
Rem      catmgmtdbd.sql - <one-line expansion of the name>
Rem
Rem    DESCRIPTION
Rem      <short description of component this file declares/defines>
Rem
Rem    NOTES
Rem      <other useful comments, qualifications, etc.>
Rem
Rem    BEGIN SQL_FILE_METADATA
Rem    SQL_SOURCE_FILE: has/mgmtdb/sql/catmgmtdbd.sql
Rem    SQL_SHIPPED_FILE: has/mgmtdb/sql/catmgmtdbd.sql
Rem    SQL_PHASE: CATMGMTDBD
Rem    SQL_STARTUP_MODE: NORMAL
Rem    SQL_IGNORABLE_ERRORS: NONE
Rem    SQL_CALLING_FILE: NONE
Rem    END SQL_FILE_METADATA
Rem
Rem    MODIFIED   (MM/DD/YY)
Rem    sahkumar    03/03/16 - bug-22828634
Rem    ssmarath    07/23/15 - Remove sqlsessstart.sql and sqlsessend.sql
Rem    ssmarath    02/10/15 - Top level script for GIMR downgrade
Rem    ssmarath    02/10/15 - Created
Rem

SET ECHO ON
SET FEEDBACK 1
SET NUMWIDTH 10
SET LINESIZE 80
SET TRIMSPOOL ON
SET TAB OFF
SET PAGESIZE 100


Rem Common Script to downgrade Users, Tablespaces, Grants
@?/has/mgmtdb/sql/common/catcommond.sql

Rem Downgrade CHM Schema
@?/has/mgmtdb/sql/chm/catchmd.sql

Rem Downgrade CHA Schema
@?/has/mgmtdb/sql/cha/catchad.sql

Rem Downgrade CALOG Schema
@?/has/mgmtdb/sql/calog/catcalogd.sql

Rem Upgrade QOS Schema
@?/has/mgmtdb/sql/qos/catqosd.sql

