Для нескольких записей вы можете использовать:
update records
set name = case id
when 1 then 'def'
when 3 then 'abc'
end
where id in (1, 3)
Немного более гибким является создание результата, который вы можете присоединить к обновлению:
update r
set name = x.name
from records r
inner join (
select id = 1, name = 'abc' union all
select 3, 'def' union all
select 4, 'qwe' union all
select 6, 'rty'
) x on x.id = r.id