原文地址:https://blog.csdn.net/u012129031/article/details/76218764

 

1、将用户user1的表权限赋给用户user2

 

select   'grant select on user1.' || t.table_name  || ' to user2;'  from user_tables t

 

2、

grant select any table to robbie;       

3、

根据指定用户名获得对应用户所拥有权限的表

 


SELECT table_name, owner FROM all_tables WHERE owner = 'SCOTT';

相关文章:

  • 2021-08-26
  • 2022-12-23
  • 2022-12-23
  • 2022-03-02
  • 2022-01-10
  • 2021-10-19
  • 2021-09-15
  • 2021-12-18
猜你喜欢
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案