Ver Mensaje Individual
  #5  
Antiguo 02-09-2011
Avatar de oscarac
[oscarac] oscarac is offline
Miembro Premium
 
Registrado: sep 2006
Ubicación: Lima - Perú
Posts: 2.010
Reputación: 20
oscarac Va por buen camino
que tal algo asi
Código SQL [-]
Select Precio_regular into #Tempo from planes_servicios where d.id_plan = 'PLANMSTRO' 
Update planes_servicios O set o.precio_regular = 
(Select Precio_regular from planes_servicios where isnull(IN_PLAN, '') = 'F' and Isnull(RECLAMABLE, '') = 'F' and
exists (select h.precio_regular from #tempo))
__________________
Dulce Regalo que Satanas manda para mi.....
Responder Con Cita