第一步:创建用户
create user username identified by password;
第二步:给用户赋值接触锁定(仅仅赋予会话权限)
grant create session to xxx;
第三步(登录所要访问表的用户(xxx),执行如下语句,并把结果保存为sql文件):
select 'GRANT ALL ON '||table_name||' to username;' from user_tables;
第一步:创建用户
create user username identified by password;
第二步:给用户赋值接触锁定(仅仅赋予会话权限)
grant create session to xxx;
第三步(登录所要访问表的用户(xxx),执行如下语句,并把结果保存为sql文件):
select 'GRANT ALL ON '||table_name||' to username;' from user_tables;
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。