these query results are not updateable-如何打开plsql编辑锁直接修改数据

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

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

SQL代码示例

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

或者  

select t.*, t.rowid from table_name t;(table_name为要编辑的表)