Last active
May 8, 2021 07:51
-
-
Save RRRoger/fcb501118ac010d47673c9219b4feca0 to your computer and use it in GitHub Desktop.
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
-- it doesn't work, don't use it | |
UPDATE | |
Table_A | |
SET | |
Table_A.col1 = Table_B.col1, | |
Table_A.col2 = Table_B.col2 | |
FROM | |
Some_Table AS Table_A | |
INNER JOIN Other_Table AS Table_B | |
ON Table_A.id = Table_B.id | |
WHERE | |
Table_A.col3 = 'cool' |
Author
RRRoger
commented
Oct 28, 2020
this SQL statement doesn't work,
i have run it on production enviroment and all data were covered with the same value!! 👎👎👎👎
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment