Wooden survey stakes pulled from a cracked salt flat at dusk, leaving rows of empty holes in pale grey earth.

An Easy Way to Drop All Tables in Your Tablespace in Oracle

Drop all Oracle tables easily - generate a SQL script from querying user_tables, then execute it.

If you need to drop all tables in the database with Oracle, here's an easy way!

 

run this command:

select 'drop table ', table_name, 'cascade constraints;' from user_tables;

Then copy the output and run that as a sql script.

 

No comments yet