I'm unable to update a table using the following join on another table. Basically TableA has some null values in its Name column and I'm trying to add them from the Customer tables Name column, joining on the ID column.
UPDATE
TableA
SET
TableA.Name = Customer.Name
FROM
TableA
INNER JOIN
Customer ON Customer.ID = TableA.ID
WHERE
TableA.Name <> Customer.Name
I've also tried it where the last line is:
TableA.Name = null