plsql允许查询数据可以编辑的条件是必须查询出rowid
在某个表上点击query data 出现的sql语句是 :select * from licence t
在某个表上点击 edit data 出现的sql语句是:select t.*, t.rowid from licence t
说明要编辑必须带有rowid
比如我们查询这样一条语句
select A,B from AB
让他可以编辑的办法
select t.A,t.B,t.rowid from AB t
查询后 点击查询结果工具栏上的 那个锁的标志
就可以编辑下面的数据了
方法2:
比如不想查处rowid 可以使用for update 然后在编辑
比如sql语句:select * from licence t
添加 for update: select * from licence t for update
然后在点击的标志就可以编辑了