oracle 不能更新 PL/SQL 点击“edit data”报“ these query results are not updateable”

更新数据库时遇到这个问题,网上查资料找到了解决方法,记录下:

你可以选择在查询语句的最后加上 for update,就可以打开编辑锁,直接修改数据。

而在默认查询下,点击Edit data,会报错:The query results are not updateable.

SQL代码示例

select * from table_name for update; (table_name为要编辑的表)  

posted on 2009-12-08 11:12  哪热  阅读(955)  评论(0编辑  收藏  举报

导航