在PL/SQL DEV里面有把锁一样的按钮,点击它会跳出“these query result are not updateable,include the ROWID to get updateab
2014-06-25 17:19
399 查看
在PL/SQL DEV里面有把锁一样的按钮,点击它会跳出“these query result are not updateable,include the ROWID to get updateable results”
通过select语句想要在plsql里面修改数据,但是点击锁图标后碰到了问题,如图解决办法:
1.select t.*, t.rowid from ar_workstatus_feild_coffing t
2.select * from ar_workstatus_feild_coffing for update
修改后别忘了提交一下!
commit 或者 如下图
这样才能在下次查询数据库时查到修改后的值。
注释:
其实,选中一个表后,右键,如果选择“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。
参考:
these query results are not updateable rowid 百度
these query results are not updateable
你可以选择在查询语句的最后加上 for update,就可以打开编辑锁,直接修改数据。而在默认查询下,点击Edit data,会报错:The query results are not updateable.
SQL代码示例
[sql]
view plaincopy
select * from table_name for update; (table_name为要编辑的表)
使用SQLplus编辑表时碰到了一个这个提示“these query results are not updateable. include the rowid ”
弹出框these query results are not updateable. include the rowid or use a select ... selecet .. for update to get updateable results.
快点啊
These query results are not updateable,Include the ROWID to get updateable results- 已解决
select * from chenxxlevel where usercode = '0000000001' for update;--若这条语句不能修改的话,要加RowID。
而如下这条sql:(注释:缺了语句了)后面加for update即可。
参考:
this query results are not updateable 百度
相关文章推荐
- 在PL/SQL DEV里面有把锁一样的按钮,点击它会跳出“these query result are not updateable,include the ROWID to get updateab
- 在PL/SQL 里面有把锁一样的按钮,点击它会跳出“these query result are not updateable,include the ROWID to get updateab
- 在PL/SQL DEV里面有把锁一样的按钮,点击它为什么会跳出“these query result are not updateable,include the ROWID to get updateable results”
- 在PL/SQL DEV进行查询后,点开把锁一样的按钮修改,点击它会跳出“these query result are not updateable,
- PL/SQL dev工具 使用for update-->Edit Date 时出错"These query results are not updateable,Include the ROWID to get updateable results."
- These query results are not updateable.Include the ROWID to get updateable results.
- These query results are not updateable. Include the ROWID to get updateable results.
- These query results are not updateable. Include the ROWID to get updateable results.
- These query results are not updateable,Include the ROWID to get updateable results- 已解决
- oracle 不能更新 PL/SQL 点击“edit data”报“ these query results are not updateable”
- oracle 不能更新 PL/SQL 点击“edit data”报“ these query results are not updateable”
- [ORACLE错误]oracle 不能更新 PL/SQL 点击“edit data”报“ these query results are not updateable”
- 关于oracle数据库中直接修改表中数据点击小锁出现"these query results are not updateable"的问题
- Oralce查询后修改数据,弹窗报提示these query result are not updateable,include the ROWID to get updateable
- The SQL Server Service Broker for the current database is not enabled, and as a result query notifications are not supported.
- these query results are not updateable
- 关于Oracle数据库修改时出现“these query results are not updateable”的问题
- sql server query to get the list of column name in a table
- Sybase- Could not find SQL statement to include with refid 'getOrderInHdStatisDetailsql'
- CocoaPods was not able to update the `master` repo....