Ver Mensaje Individual
  #5  
Antiguo 07-01-2008
Avatar de Gaim2205
Gaim2205 Gaim2205 is offline
Miembro
 
Registrado: ago 2007
Ubicación: Durango, Mexico
Posts: 144
Reputación: 19
Gaim2205 Va por buen camino
Bueno, lo logré. Gracias por su ayuda, al final me quedó asi:

Código SQL [-]
select factor_integracion from sistemas_ant_rangos where sistema_antiguedad = trabajadores_grales.sistema_antiguedad
     and limite_inferior = DATEDIFF(year,trabajadores_grales.fecha_ingreso,getdate()) AS 'FACTOR INT.'
Responder Con Cita