I want to update this table in SQL Server with data from its 'parent' table, see below:
Table: sale*
id (int)
udid (int)
assid (int)
*Table: ud
id (int)
assid (int)
sale.assid contains the correct value to update ud.assid.
What query will do this? I'm thinking of a join but I'm not sure if it's possible.