How do I write a Microsoft SQL Server command to update every row with the corresponding value from a second table?
UPDATE Person SET
FirstName=Temp.FirstName
FROM Temp
WHERE Temp.PersonID=Person.PersonID
Here I want to replace every FirstName with Temp.Firstname where the personid in Person is equal to Temp.PersonID