This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set echo off | |
set verify off | |
set serveroutput on size 100000 | |
-- Hosted at http://lastinfinitetentacle.blogspot.com/2012/03/empty-oracle-schema-leave-empty-schema.html | |
-- Disable all contraints | |
BEGIN | |
FOR c IN | |
(SELECT c.owner, c.table_name, c.constraint_name |
NewerOlder