Created
November 4, 2011 13:28
-
-
Save withakay/1339307 to your computer and use it in GitHub Desktop.
Update with inner join (SQL Server)
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
UPDATE t1 | |
SET col = t2.col | |
FROM Table1 t1 | |
INNER JOIN Table2 AS t2 ON t1.ID = t2.ID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment