`

These query results are not updateable.Include the ROWID...

    博客分类:
  • SQL
阅读更多

按此在新窗口浏览图片

http://www.zlsoft.com/techbbs/Archive_view.asp?boardID=62&ID=3562

很明显楼主点过\'锁\'(Edit Data)那个图标,提示已经很明显,你要进入编辑模式的话,必须使用:select * from zlhis.药品供应商 for update

在SQL WINDOW中要想编辑查询出来的数据.用


select * from yourtablename for update 


然后解除锁定就可以了.


你应该是用没有加 for update的语句查询出结果,又点击解除锁定(即edit data按钮)就会出现这个提示.

==================================================================

http://www.blogjava.net/3ant/archive/2010/01/06/308471.html

----------------------
select * from chenxxlevel where usercode = '0000000001' for update;--若这条语句不能修改的话,要加RowID,如下这条sql:
select c.*,c.rowid from chenxxlevel c where usercode = '0000000001' for update;--即可。

实在不行直接update
update chenxxlevel set comcode='31000000' where usercode='0000000001';

 

转自:http://hi.baidu.com/test2704/blog/item/e22fb00d11d5a18cd1581bf1.html

 

分享到:
评论

相关推荐

    Auto_install_apk.bat

    adb自动安装本目录下所有apk批处理bat文件,自己编写的文件,简单易用,避免手动安装频繁反复安装的重复操作。

    Android中persistent属性用法详解

    主要介绍了Android中persistent属性用法,详细分析了persistent属性的功能及相关用法,需要的朋友可以参考下

    测试android:persistent="true"

    由于配置了android:persistent="true"属性,并且Phone.apk是安装在/system/app/目录下的,所以在开机时会自动启动PhoneApp类

    Murach's SQL Server 2016 for Developers

    enhancements, not only those for developers. We want to show the whole picture and point where things are moving on. Chapter 2, Review of SQL Server Features for Developers, is a brief recapitulation ...

    UpdateAble-开源

    简单的CMS,侧重于易用性和直观的界面。 非常适合需要网络访问的小型企业。

    SimpAutoUpdater c#自动升级模块源码

    [assembly: FSLib.App.SimpleUpdater.Updateable("http://ls.com/update.xml")] 这步是必须的,否则请求检查更新时会抛出异常;代码中的网址即上面提到的能访问到xml文件的网址。 如果您希望更加简单的使用而...

    V5Shop8.3官方商业源码带注释【非破解版】

    V5Shop8.3官方商业源码带注释【非破解版】 部署环境:Visual Studio 2008 ... 数 据 库:SQL SERVER 05 OR 08 安装步骤 1:先在数据库中建立一个空的数据库,数据库的名称自起,如:v5shop83 ...

    OLEdbProNet

    It supports all of advanced rowset features like client and server updateable cursors, bookmark, record searching and scrolling, batch update, provider-specific features, and many more. Specifically,...

    Android Bootcamp 2017

    Android Bootcamp 2017 — Updateable Graphics Drivers Android Bootcamp 2017—Camera Android Bootcamp 2017—NextGenGraphicsAPIs Android Bootcamp 2017—Platform Graphics Update Day 3_ Runtime Android ...

    Python如何使用vars返回对象的属性列表

    Return the __dict__ attribute for a module, class, instance, or any other object with a __dict__ attribute. Objects such as modules and instances have an updateable __dict__ attribute; however, other ...

Global site tag (gtag.js) - Google Analytics