【表空间】
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;
待续
本文详细介绍了如何在数据库环境中创建表空间并赋予用户权限,包括使用SQL命令进行操作及验证。
289

被折叠的 条评论
为什么被折叠?



