經安全檢測,此網站為安全網站,請放心前往原始網址!

tsql - Update a table using JOIN in SQL Server? - Stack Overflow

You don't quite have SQL Server's proprietary UPDATE FROM syntax down. Also not sure why you needed to join on the CommonField and also filter on it afterward. Try this: UPDATE t1 SET t1.CalculatedColumn = t2.[Calculated Column] FROM dbo.Table1 AS ...

stackoverflow.com

網址安全性掃描由 google 提供