[quote=rastafarey;292774]
Código SQL
[-]
Update t1 set c1 = (select
case t1
when 1 then c2
when 2 then c3
when 3 then c4
else c5
end
from t2 where condicion)
Código SQL
[-]
Update t1 set c1 = (select
case t1
when 1 then c2
when 2 then c3
when 3 then c4
else 'S'
end
from t2 where condicion)
Creo que puedes interpretar la sentencia y usarla a tu manera.