在oracle中有一张表,现在要对一个日期下的集合中的每条记录的某几个字段进行更新,
我开始用游标来进行一条一条的计算更新,可是现在老大说如果循环次数太多的话,回浪费很多时间??
请问谁有没有更好的办法???谢谢!!!!!!!!!
----表结构-------------
cjrq  date;
hm   varchar(20);
dqbh number;
hmlb char(1);
dlsbh number;
total number(10,2);
yfcj  number(10,2);
wxcj number(10,2);
bdhf number(10,2);
bdct number(10,2);
bdgj number(10,2);
yhl number(10,2);
hmcj number(10,2);
sbcj number(10,2);
dlsbh_sb number(10,2);
----------------------
更新就是cjrq下的没个号码的total,yfcj,hmcj,sbcj.