User-583959464 posted
merge into tables T using (select * from tableB) as S on t.id =s.id and t.name=s.name when matched then update t.value = s.value
when not matched then insert (colA, colB ) values (s.id, s.name);
how to use merge table above , and colA, and colB in not matched section is referring to insert which ?
anyone explain above sql on merge match and not match?