我们专注攀枝花网站设计 攀枝花网站制作 攀枝花网站建设
成都网站建设公司服务热线:400-028-6601

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

表一字段update权限

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.









本文标题:表一字段update权限
本文URL:http://shouzuofang.com/article/ihgipo.html

其他资讯