原作者连接: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 序列授权)
最新推荐文章于 2021-04-16 06:12:34 发布
本文详细介绍了如何使用SQL的GRANT语句为不同的数据库用户分配表、存储过程、序列及触发器等资源的权限,包括SELECT、UPDATE、EXECUTE等操作,并提供了具体的语法示例。
2741

被折叠的 条评论
为什么被折叠?



