在多个表上授予 SELECT 权限 oracle [英] Grant SELECT on multiple tables oracle

查看:65
本文介绍了在多个表上授予 SELECT 权限 oracle的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有 3 个表 table1、table2、table3.我想将这些表授予(例如选择)用户 user1.

I have 3 tables table1,table2,table3. I want to grant(select for example) these tables to a user, user1.

我知道我可以授予:

grant select on table1 to user1;
grant select on table2 to user1;
grant select on table3 to user1;

我可以仅使用 1 个查询将 3 个表授予 user1 吗?

Can I grant the 3 tables to user1 using only 1 query?

谢谢

推荐答案

没有.正如文档所示,您只能授予一次访问一个对象.

No. As the documentation shows, you can only grant access to one object at a time.

这篇关于在多个表上授予 SELECT 权限 oracle的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆