--第二步创建临时表空间(注:不用创建dbf,oracle会自动创建)
create temporary tablespace supan_data_temp tempfile 'C:\Program Files\OracleData\supan_data_temp.dbf' size 50m autoextend on next 50m maxsize 20480m extent management local;
--第三步创建数据表空间
create tablespace supan_data logging datafile 'C:\Program Files\OracleData\supan_data.dbf' size 50m autoextend on next 50m maxsize 2048m extent management local;
--第四步:创建用户并指定表空间
create user supan identified by root default tablespace supan_data temporary tablespace supan_data_temp;
--第五步:给新用户授权
grant connect,resource,dba to supan;