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

Home/Database/An Easy Way to Drop All of the Tables in Your Tablespace in Oracle

run this command:

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

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

By | 2017-05-18T15:18:12+00:00 March 8th, 2008|Database|1 Comment

About the Author:

One Comment

  1. dsfa December 1, 2016 at 8:38 pm - Reply

    Nice

Leave A Comment