已经查询到结果变了,应该不是没有commit

解决方案 »

  1.   

    就是没commit,sql plus 用quit正常关闭commit,直接点叉关掉rollback.
    估计这个是偶尔发生的原因。
      

  2.   

    oracle同一session的更新是一致的,象你说的,即使你没有commit。有一个设置,将autocommit设为true就行了,会在session关闭时自动提交。你可以开两个sqlplus试一下就知道了。
      

  3.   

    查询到结果变了,应该不是没有commit的问题
    会不会是另一用户将记录改回来了?
      

  4.   

    肯定是没有commit,你可以测试一下吗。
      

  5.   

    蓝星星:你在SQL*Plus中update一条纪录而不用commit看看。
    只要你在退出SQL*Plus之前,用select查结果都是变了的。
      

  6.   

    同一个用户的同一个连接,
    自己可以查询的到自己的修改,
    但没有COMMIT时别人就不能查询到。
      

  7.   

    In some version of SQL+ , if you quit from it , the session will be autocommit . Obviously , in above example , this option is not there , So the uncommited data are lost . U have to commit it by type it