--創建表空間
create tablespace 表空間名字
logging
datafile 'E:\app\sinohuarui\oradata\orcl\文件名.dbf'
size 50m
autoextend on
next 50m maxsize 20480m
extent management local;
--創建用戶並分配表空間
create user 用戶名 identified by 密碼
default tablespace 表空間名字
temporary tablespace temp;
--授權
grant connect,resource,dba to 用戶名;
