一.创建表空间
create tablespace 表空间名
detafile “路径 后缀名为 .dbf” --路径
size 100m – 表空间 初始大小 为100
autoextend on – 允许自动扩展
next 10m – 每次扩展大小
—删除表空间
drop tablespace 表空间名;
–创建用户
create user 用户名
identified 密码
default tablespace 出生的 表空间名
–给用户授权
Oracle 中 常见角色
connect --连接角色 基本角色
resource --开发者角色
dba —超级管理员角色
–给用户授权
grant dba to 用户名