1、如果有plsql客戶端,則可以使用該用戶登錄,選中所有表 右鍵Drop即可。
2、如果有刪除用戶的權限,則可以:
drop user user_name cascade;
加了cascade就可以把用戶連帶的數據全部刪掉。
--創建用戶 create user 用戶名 profile default identified by 密碼 default tablespace 表空間名稱 temporary tablespace TEMP account unlock;
--授權
grant dba to 用戶名;
grant connect,resource to 用戶名;
3、如果沒有刪除用戶的權限,則可以執行:
select 'drop table '||table_name||';' from cat where table_type='TABLE'
將得到的結果全部復制粘貼到另一個sql窗口,執行