Created
January 15, 2013 17:07
-
-
Save michail-nikolaev/4540162 to your computer and use it in GitHub Desktop.
Oracle - drop all tables
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 table ' ||table_name||' cascade constraints;' from user_tables; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please note: this generates the SQL statements for dropping all tables. You'll need to run these statements to actually drop the tables.