Good morning, I'm having a hard time doing an SQL Server update. I have the following situation:
Table 1
ID
Codigo
Table 2
ID
Nome
And I have an excel file like this:
Excel
Codigo
Nome
I need to update the Name column of Table 2 , with excel data, what would querry be in this situation?
I've tried this:
SELECT *
FROM Tabela2 F
FULL JOIN Tabela1 M ON F.id = M.codigo