Jag har följande fråga och vill uppdatera med resultatet av den. Någon vänlig själ som kan hjälpa mig på traven?
select
AcTr.Txt2,
case
when AcTr.Sup is not null and AcTr.VoTp in (16) then
Sup.Nm + SPACE(2)+ InvoNo
end
,*
from
AcTr
left join Actor Sup on AcTr.Sup = Sup.SupNo and AcTr.Sup <> 0
Where AcTr.VoTp = '16'