Oracle一个用户在没有scott用户默认表空间配额的情况下,可以为之创建表吗?

用户scott默认表空间是users
用户test4默认表空间分配为tr(收回unlimited tablespace后重新分配的表空间)
为test4默认表空间分配10m配额
test4在没有scott默认表空间users的权限及配额的情况下,可以为scott建表吗?
按照下述sql即可验证,答案是可以的

create tablespace tr datafile ‘/ocp/oracle/oradata/orcl/tr.dbf’ size 10m;
create user test4 identified by test4 default tablespace tr;
grant connect,resource to test4;
revoke unlimited tablespace from test4;
alter user test4 quota 10m on tr;
grant create any table to test4;
create table scott.b (id int) tablespace users;

发布了58 篇原创文章 · 获赞 5 · 访问量 5104

猜你喜欢

转载自blog.csdn.net/weixin_42161670/article/details/102680207