I am using VB 6 with SQL 8.I want to update 2 col on my table. I am doing something like this .. Gives me syntex error. I am not sure if i can use alias in update statment , Is it possible to update 2 col at same time ...
update laborefficiency l
set l.itemno = b.itemno
from baandirecthrb19 b,laborefficiency l
where b.itemno not like 'null'
and l.jobnumber = b.jobnumber
update laborefficiency l
set l.itemno = b.itemno
from baandirecthrb19 b,laborefficiency l
where b.itemno not like 'null'
and l.jobnumber = b.jobnumber