Skip to content

Instantly share code, notes, and snippets.

View richard087's full-sized avatar

Richard C richard087

  • Melbourne, Australia
View GitHub Profile
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