您的位置:首页 > 数据库

创建数据库用户,赋予访问某些表的权限

2013-04-11 16:01 411 查看
--drop user sjjh cascade;

--第一步:创建用户

create user sjjh identified by "123"; 

--第二步:给用户赋予会话权限

grant create session to sjjh;

--第三步:赋予操作表的权限

grant select on nguser.t_xtcs to sjjh;

grant select,update on nguser.t_yhxxb to sjjh;

grant select,insert,delete,update on nguser.t_temp to sjjh;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐