drop tablespace qb including contents and datafiles;
DROP TABLESPACE TJLGL INCLUDING CONTENTS AND DATAFILES;
drop user qb cascade
create tablespace qb
logging
datafile 'E:\app\landa6\oradata\qb.DBF' --(表空间路径)
size 32m
autoextend on
next 32m
extent management local;
create user qb identified by qb default tablespace qb
grant dba to qb;--(分配权限给用户)
SELECT 'DELETE FROM '|| table_name || ';' FROM USER_TABLES ORDER BY TABLE_NAME;
转载于:https://my.oschina.net/u/3724493/blog/1570373