在PL/SQL DEV里面有把锁一样的按钮,点击它会跳出“these query result are not updateable,include the ROWID to get updateable results”
通过select语句想要在plsql里面修改数据,但是点击锁图标后碰到了问题,如图
解决办法:
1.select t.*, t.rowid from ar_workstatus_feild_coffing t
2.select * from ar_workstatus_feild_coffing for update
修改后别忘了提交一下!
commit 或者 如下图
这样才能在下次查询数据库时查到修改后的值。