codice:
update nometab set nomecampo = 
case
when id = 1 then 'testo1'
when id = 2 then 'testo2'
when id = 3 then 'testo3'
when id = 4 then 'testo4'
when id = 5 then 'testo5'
when id = 6 then 'testo6'
when id = 7 then 'testo7'
else nomeCampo
end
Tramite else lasci invariato il campo per tutti gli id che non specifichi.