Created
March 10, 2014 15:37
-
-
Save SmiddyPence/9467326 to your computer and use it in GitHub Desktop.
Oracle Drop All Objects
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
select 'drop '||object_type||' '|| object_name|| DECODE(OBJECT_TYPE,'TABLE',' CASCADE CONSTRAINTS;',';') from user_objects |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment