I need to update this table in SQL Server with data from its \'parent\' table, see below:
Table: sale
id (int) udid
The simplest way is to use the Common Table Expression (CTE) introduced in SQL 2005
with cte as (select u.assid col1 ,s.assid col2 from ud u inner join sale s on u.id = s.udid) update cte set col1=col2