ORACLE 赋予用户权限

一、给用户增加表或者视图的权限

命令:grant  xxx权限 on Table to USER
grant select,insert,update,delete,all on 表名 to 用户名
例如:将test表的查询权限赋予tom这个用户
grant select on test to tom

 

二、给用户增加存储过程的权限

grant execute on 存储过程名称 to 用户名;

grant select on 存储过程名称 to 用户名;

 

posted @ 2020-10-20 11:26  systemctl1  阅读(2686)  评论(0编辑  收藏  举报