Below SQL select statement create list of SQLs to delete all tables For ORACLE schema SELECT 'DROP TABLE "' || TABLE_NAME || '" CASCADE CONSTRAINTS;' FROM user_tables; For MSSQL schema use [database_name] SELECT 'DROP TABLE {user} .' + NAME FROM sys.objects where type = 'U'; Where {user} is the owning user of the tables. (drop all tables of database)
הבלוג של זיו בירר