[英]Orace 11g : Create table in another schema with only select permission to schema owner
I have 2 users: User1 and User2 我有2个用户:User1和User2
I am able to create table in schema of User2 from User1 我可以从User1在User2的架构中创建表
create table user2.tmp_tab (
temp1 varchar2(20),
temp2 varchar2(20)
);
Table created Successfully
but I want User2 to have only select privileges on the table. 但我希望User2 仅在表上具有选择权限。 and also I don't want to create table in Schema User1.
而且我也不想在架构User1中创建表。
Is it possible ? 可能吗 ? How can it be done ?
如何做呢 ?
No, you can't. 不,你不能。 The schema owner automatically has all object privileges for his own schema.
模式所有者自动拥有其自己模式的所有对象特权 。
From documentation , 根据文档 ,
A user automatically has all object privileges for schema objects contained in his or her schema.
用户自动拥有其架构中包含的架构对象的所有对象特权。 A user can grant any object privilege on any schema object he or she owns to any other user or role.
用户可以将他或她拥有的任何架构对象的任何对象特权授予任何其他用户或角色。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.