I have a simple update statement but I am getting an error on the second SET statement: expecting ',', id, pseudocode or variable. I can't see what I am doing wrong. Please help.
update DLprc
set salesamt = q.salesamt,
set salestx = q.salestx, <<<---- error line
set nsales = q.nsales
from DLprc a
inner join q on a.customer = q.customer
SETSETfrom the query. Leave everything else.