Created
June 27, 2014 18:37
-
-
Save dandye/cf4e624c937682245313 to your computer and use it in GitHub Desktop.
merge_matched
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MERGE table_a AS trg | |
USING table_b AS src | |
ON (trg.ID = src.ID) | |
WHEN MATCHED | |
THEN UPDATE SET trg.f1 = src.f1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment