Last active
February 19, 2019 09:45
-
-
Save arekgotfryd/70a620abcd80533c9e8b1400b5263bdd 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
UPDATE a | |
set a.Score = _TARGET.Score | |
FROM McD_ROI_Hex_All_Afternoon a | |
JOIN [SandBox].dbo.[McD_ROI_Hex_Timebuckets] AS _TARGET | |
ON a.SP_GEOMETRY.STContains(_TARGET.SP_GEOMETRY) = 1 | |
AND a.Sum_Avg_Users = _TARGET.Sum_Avg_Users; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment