创建Oracle表空间:
create tablespace TABLESPACES_NAME_A datafile '/u01/oradata/wzcb.dbf' size 512m autoextend on next 256m maxsize unlimited extent management local;
创建表空间内的用户:
create user user_name_a identified by user_name_a119 default tablespace TABLESPACES_NAME_A;
给用户授权:
grant connect,resource,dba to user_name_a;
drop user user_name_a cascade;
DROP TABLESPACE TABLESPACES_NAME_A INCLUDING CONTENTS AND DATAFILES;
查询表空间数据
select * from dba_data_files where tablespace_name like 'WZ%';