update (select row_number() over() as rownum,w.* from WE_EFFORT w where w.WORK_EFFORT_TYPE_ID='ACTIVITY') a set WORK_EFFORT_NAME=(select WORK_EFFORT_NAME from WE_EFFORT b where b.WORK_EFFORT_ID=a.WORK_EFFORT_PARENT_ID) where a.rownum between 1 and 10000
数据表中有110万条数据,每更新10000条就要半个小时左右,求优化建议