oracle 新建用户
- 新建表空间
create tablespace 表空间名 datafile '表空间文件位置.dbf' size 32m autoextend on next 32m maxsize 32G;
- 新建用户并指定表空间
create user 用户名 identified by 密码 default tablespace 表空间名;
- 赋权
grant connect,resource to 用户名;
create tablespace 表空间名 datafile '表空间文件位置.dbf' size 32m autoextend on next 32m maxsize 32G;
create user 用户名 identified by 密码 default tablespace 表空间名;
grant connect,resource to 用户名;