创建用户只分配select 权限

时间:2021-08-28 06:02:29
【文件属性】:
文件名称:创建用户只分配select 权限
文件大小:16KB
文件格式:TXT
更新时间:2021-08-28 06:02:29
数据库 创建一个用户,只分配select 权限 1. 用sys用户登陆, 创建用户并赋权限 create user cc551it identified by "cc551it"; grant connect,resource to cc551it; grant create synonym to cc551it; 2. 用newccs用户登陆,对cc551it 用户赋select 权限 Select 'grant select on newccs.'||table_name||' to cc551it;' from user_tables;

网友评论