Oracle数据库创建表空间

drop tablespace qb including contents and datafiles;
DROP TABLESPACE TJLGL INCLUDING CONTENTS AND DATAFILES;

drop user qb cascade

create tablespace qb
logging
datafile 'E:applanda6oradataqb.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://www.cnblogs.com/blog-cq/p/5496413.html