为什么在PLsql 中执行update语句可以执行,但是在asp.net中却不能执行?本人已经试过了其他insert select语句都可以执行

解决方案 »

  1.   

    没有错误,就是执行不了
    update user_info a set user_email='[email protected]' where user_email='[email protected]'
      

  2.   

    update user_info a set user_email='[email protected]' where user_email='[email protected]'
    没有错误消息
      

  3.   

    我是说,update语句没有错误,在PLsql里执行没有问题,但是在asp.net中执行不成功
      

  4.   

    你看你在asp中是否转义了,就是最好的sql是不是改变了
      

  5.   

    恭喜楼主发现了一个.net的大bug...
      

  6.   

    该不会是你的分号的问题吧
    另外:你的update语句后面,commit;没
      

  7.   

    where user_email='[email protected]'你的单引号中是否有空格?
      

  8.   

    调试的时候 能到update那一步吗?
      

  9.   

    grant update any table to userdb
      

  10.   

    asp.net没用过,但c#中要用da.update(ds)提交更新的数据,在c#中用update只是更新本地表,并不向数据源更新,估计asp.net也是这样
      

  11.   

    象上面的语句,可能是传入"@"符号到asp.net时,变成了别的符号,导致语法错误!
      

  12.   

    commit ?? 我对oracle 数据库操作不是很了解,请各位大侠指点指点
      

  13.   

    oracle 中只有提交了 数据才会更新 否则 查出来的会是旧的数据 
    除非 重启服务器才会更新