PL/SQL:these query result are not updateable,include the ROWID to get updateab -----for update

these query result are not updateable,include the ROWID to get updateab

原因:

其实,选中一个表后,右键,如果选择“query data”,则在跳出的SQL window上显示的SQL语句是select * from table_name;如果选择“edit data”,则在跳出的SQL window上显示的SQL语句是select *,rowid    from table_name或者是select * from table_name for update(具体因pl/sql developer版本不同而选择两种SQL语句中的一句)。在选择“query data”时跳出的SQL window上点击这个编辑锁按钮,则会跳出上述对话框;在选择“edit data”时跳出的SQL window上点击这个编辑锁按钮,则不会跳出上述对话框。简而言之,query data对应的SQL语句是select * from table_name;edit data对应的SQL语句是select *,rowid   from table_name或者是select * from table_name for update。

原文地址:https://www.cnblogs.com/zx3707/p/5706307.html