现有形式的update文Update table_A set name = 'abcd' where table_A is not null;
Commit;以上为例,需要执行上千条,但是处理时间大约为14个小时,想要提高效率,如何减少执行Update文的时间?哪位大神帮忙指导下,跪谢!

解决方案 »

  1.   


    几千条记录,14个小时? 疯了吧。
    where table_A is not null;  table_A是个字段名?
    看看是不是锁数据了
      

  2.   

    不好意思,写错了
    Update table_A set name = 'abcd' where name is not null;
    Commit;
    是name字段不为空时候。
    每个表有几个字段的数据需要更新,都是上面同样写法。