--創建表空間
create tablespace yyf
datafile 'E:\soft\oradata\orcl\yyf.dbf'
size 50m
create tablespace yyf
datafile 'E:\soft\oradata\orcl\yyf.dbf'
size 50m
--創建用戶
create user onlineexam identified by onlineexam
default tablespace yyf
Temporary TABLESPACE Temp
profile default
account unlock;
default tablespace yyf
Temporary TABLESPACE Temp
profile default
account unlock;
--授權
grant resource,connect,dba to onlineexam