在PL/SQL DEV里面有把锁一样的按钮,点击它为什么会跳出“these query result are not updateable,include the ROWID to get updateable results”
第一种解决方法:
锁上编辑锁,加上查询他的ROWID就可以打开修改锁修改数据了
例:
select t.*,t.rowid from scott.emp t
第二种解决方法:
也可以 select t.* from scott.emp t for update 二种方式
作者:高级测试开发网
博客地址:https://seniortesting.club
本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。