Ver Mensaje Individual
  #3 (permalink)  
Antiguo 04/12/2008, 13:47
seyko
 
Fecha de Ingreso: febrero-2007
Mensajes: 1.292
Antigüedad: 17 años, 2 meses
Puntos: 13
Respuesta: Se puede hacer esto??

Si quires hacerlo para todos los nov_id
Código:
insert into detalle
select  id_detalle, 
             case nov_id
               when 3 then 100
               when x then y
              .....
               [else]
              end as nov_id_arreglado
, aforo_id, ref_arte
from temporal_detalle;
salu2