ITeye博客

数据库表授权

stone02111 · 2012-01-09 10:56 · oracle · 数据库 · Markdown

1 授权表给用户


    grant select on table_name to user2;

2 创建同名


    create synonym table_name for user1.table_name;

3 删除同名


    drop synonym table_name for user1.table_name;

4 回收权限


    revoke select on user1.table_name from user2;

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。