首页 > Linux操作系统 > Linux操作系统 > 表的synonym 的访问权限
for single table:
in the schema user(say scott) who owns tables:
grant select on table1 to aa;
connect aa/aa@blahblahblah:
create synonym table1 for scott.table1;
then you can select *from table1;
for all the tables in the schema:
write pl/sql and put above codes in loop.
控制用户对关键表的访问权限
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/13165828/viewspace-605938/ ,如需转载,请注明出处,否则将追究法律责任。