MINI MINI MANI MO
Rem
Rem $Header: rdbms/demo/schema/human_resources/hr_drop.sql /main/2 2016/03/30 06:52:27 celsbern Exp $
Rem
Rem hr_drop.sql
Rem
Rem Copyright (c) 2001, 2016, Oracle and/or its affiliates.
Rem All rights reserved.
Rem
Rem Permission is hereby granted, free of charge, to any person obtaining
Rem a copy of this software and associated documentation files (the
Rem "Software"), to deal in the Software without restriction, including
Rem without limitation the rights to use, copy, modify, merge, publish,
Rem distribute, sublicense, and/or sell copies of the Software, and to
Rem permit persons to whom the Software is furnished to do so, subject to
Rem the following conditions:
Rem
Rem The above copyright notice and this permission notice shall be
Rem included in all copies or substantial portions of the Software.
Rem
Rem THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
Rem EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
Rem MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Rem NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
Rem LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
Rem OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
Rem WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Rem
Rem NAME
Rem hr_drop.sql - Drop objects from HR schema
Rem
Rem DESCRIPTION
Rem
Rem
Rem NOTES
Rem
Rem CREATED by Nancy Greenberg - 06/01/00
Rem MODIFIED (10/14/15)
Rem dmatisha 10/14/15 - removed line to connect as hr - script should be run as HR user. Removed commit; from end as it is not needed.
Rem smtaylor 03/19/15 - added parameter 2, connect_string
Rem smtaylor 03/19/15 - added @&connect_string to CONNECT
Rem hyeh 08/29/02 - hyeh_mv_comschema_to_rdbms
Rem ahunold 02/20/01 - New header, non-table objects
Rem vpatabal 03/02/01 - DROP TABLE region
SET FEEDBACK 1
SET NUMWIDTH 10
SET LINESIZE 80
SET TRIMSPOOL ON
SET TAB OFF
SET PAGESIZE 100
SET ECHO OFF
DROP PROCEDURE add_job_history;
DROP PROCEDURE secure_dml;
DROP VIEW emp_details_view;
DROP SEQUENCE departments_seq;
DROP SEQUENCE employees_seq;
DROP SEQUENCE locations_seq;
DROP TABLE regions CASCADE CONSTRAINTS;
DROP TABLE departments CASCADE CONSTRAINTS;
DROP TABLE locations CASCADE CONSTRAINTS;
DROP TABLE jobs CASCADE CONSTRAINTS;
DROP TABLE job_history CASCADE CONSTRAINTS;
DROP TABLE employees CASCADE CONSTRAINTS;
DROP TABLE countries CASCADE CONSTRAINTS;
OHA YOOOO