Mohd Radzi Ibrahim Sun, 15 Oct 2006 18:54:08 -0700
update i set val=qty*q.price from salesrecord i inner join historicalprice q on i.itemid=q.itemid
thanks. Radzi.