I need to update this table in SQL Server with data from its \'parent\' table, see below:
Table: sale
id (int) udid
Try this one, I think this will works for you
update ud set ud.assid = sale.assid from ud Inner join sale on ud.id = sale.udid where sale.udid is not null