select * from dba_tablespaces
说明:查看所有表空间
---------------------------------------------------------------------
drop user waternet cascade
说明: 删除了user,只是删除了该user下的schema objects,是不会删除相应的tablespace的。
---------------------------------------------------------------------
DROP TABLESPACE WATERNET_DATA INCLUDING CONTENTS AND DATAFILES;
说明:删除表空间
------------------------------------------------------------------------------
循环删除表:
begin
for t in (select table_name from user_tables where table_name like 'ABC%' ) loop
execute immediate 'drop table '||t.table_name;
end loop;
end;