Last active
December 17, 2015 20:38
-
-
Save sondreb/5668687 to your computer and use it in GitHub Desktop.
Copy (binary) data between columns of two different tables in the same database.
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 | |
Table1 | |
SET | |
Table1.OverlayImage = T2.BinaryImage | |
FROM | |
Table1 T1 | |
INNER JOIN | |
Table2 T2 | |
ON | |
T1.ID = 45 AND T2.ID = 20 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment