【表空间】
create tablespace shop2 datafile 'D:\shop2\shop2.dbf'
size 50m default storage(initial 500k next 500k minextents 1 maxextents unlimited
pctincrease 0);
COMMIT;
create tablespace 成功。
COMMIT 成功。
【创建用户、赋予权限】
create user shop2 identified by your_password default tablespace shop2;
select * from all_users;
select username,default_tablespace from dba_users;
待续