我就是這樣寫的
========================
update DingDanMingXi
set pa=c.pa,pb=c.pb,pc=c.pc,pk=c.pk,pi=c.pi,pw=c.pw,yzzl=c.yzzl
from DingDanMingXi d,ChanPingZiLiao c
where d.cpbh=c.cpbh
========================
再執行
select d.ddmxxh,c.cpbh,d.cpbh,d.pa,c.pa
from DingDanMingXi d,ChanPingZiLiao c
where d.cpbh=c.cpbh
and d.pa<>c.pa
還有66條記錄