1.创建环境
SQL> create user ltest identified by ltest;
User created.
SQL> grant connect,resource to ltest;
Grant succeeded.
2.尝试更新
SQL> update system.test set object_id=1;
update system.test set object_id=1
*
ERROR at line 1:
ORA-00942: table or view does not exist
3.赋权
SQL> grant select,update(object_id) on system.test to ltest;
Grant succeeded.
4.尝试更新
SQL> grant select,update(object_id) on system.test to ltest;
Grant succeeded.
SQL> connect ltest/ltest
Connected.
SQL> update system.test set object_id=1;
74883 rows updated.
SQL> rollback;
Rollback complete.
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。