原作者连接:https://www.cnblogs.com/lichuangblog/p/6892801.html
grant给表赋权限:
1、grant 权限 on 表 to 用户。
grant select/update on table to username;
例如:
grant select on table_name to user_name;
2、grant 给存储过程赋权限:
grant execute on 过程、包、方法 to user
grant execute on package/function/procedure to username;
例如:
授权某个触发器到数据库其它用户
grant execute on func_name to username;
3、grant 用户序列授权
grant select on sequence_name to username;
4、一次把权限给完(过程、包、方法):
grant execute any procedure to username;
给其创建触发器权限:
grant create trigger to username;
Oracle授权相关(Oracle 触发器授权、Oracle 存储过程授权、Oracle 表授权、Oracle 序列授权)
最新推荐文章于 2024-05-14 15:32:19 发布