SELECT *FROM BAPU2 MERGE into bapu1 AS b1 using (select ID,VALUE from bapu2) AS b2 on b1.id = b2.id when matched then update set b1.value=b2.value when not matched then insert values(b1.id,b2.name,b3.value)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)