创建表空间
create tablespace 表空间名
datafile ‘c:\waterboss.dbf’ //datafile:用于设置物理文件名称
size 100m //size:用于设置表空间的初始大小
autoextend on // 用于设置自动增长,如果存储超过初始大小
next 10m ; //next:用于设置扩容的空间大小
创建用户
create user 用户名
identified by 密码 //设置用户密码
default tablespace 表空间; //用于指定默认表空间名称
用户赋权
grant dba to 用户名 //给用户赋予DBA权限后即可登录