Novice SQL Server
Can someone explain the logic of the below update with a join. I don't understand the setting of a specific value in the 'on' clause...
(#c is a tiny temp table with fields: cert, prod, cov, i)
update m
set inieff = i
from tmempt m
inner join #c on clntcode = '01208' and
polno = '00000408' and
certno = cert and
prodcode = prod and
covgcode = cov and
rcdsts = 'A'
...so how does '..on clntcode='01208' and polno='00000408'' work in the context of a join? I thought that joins work by field relationships...
Thanks J