Ver Mensaje Individual
  #3  
Antiguo 04-02-2013
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
lo hice de esta manera

Código SQL [-]
update tblconsumod Set subvencion = 2.39, trab = 6.755
where doc in (Select doc from tblconsumoc where f_doc between '01/01/2013' and '31/01/2013') and
kod in (Select kod from tblarticulo where [check] = 'x')

Si alguien tiene una mejor version o puede mejorar la consulta, se lo agradecere
__________________
Dulce Regalo que Satanas manda para mi.....
Responder Con Cita