进入管理员cmd
1
sqlplus /nolog
2
connect / as sysdba
3
// 创建表空间
create tablespace cds02
datafile 'F:/oradata/cds02.dbf' size 8M
autoextend on
next 5M
maxsize unlimited;
// 创建用户并指定表空间identified by password
create user topp identified by topp
default tablespace test_data;
// 给用户授予权限
grant connect, resource to topp;
create tablespace cds02
datafile 'F:/oradata/cds02.dbf' size 8M
autoextend on
next 5M
maxsize unlimited;
// 创建用户并指定表空间identified by password
create user topp identified by topp
default tablespace test_data;
// 给用户授予权限
grant connect, resource to topp;