We value your feedback.
Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!
MERGE TargetTable AS T USING SourceTable AS S ON (T.fld1 = S.fld2) WHEN NOT MATCHED BY TARGET THEN INSERT(ProjectID, fld1 ,fld2,fld3 ,fld4 ) VALUES(@ProjectID, S.fld1 ,S.fld2 ,S.fld3 ,S.fld4 ) WHEN MATCHED THEN UPDATE SET T.fld1=S.fld1, T.fld2=S.fld2, T.fld3=S.fld3, T.f4=S.fld4 WHEN NOT MATCHED BY SOURCE THEN DELETE
Join the community of 500,000 technology professionals and ask your questions.