Ver Mensaje Individual
  #6  
Antiguo 23-10-2003
Avatar de jachguate
jachguate jachguate is offline
Miembro
 
Registrado: may 2003
Ubicación: Guatemala
Posts: 6.254
Reputación: 28
jachguate Va por buen camino
Cool

Proba con:

Código:
  select a.nombremiembro, a.fechanacimiento
    from miembros a
 where ((extract(month from a.fechanacimiento)*100 + 
            (extract(day from a.fechanacimiento) between
            :mes1 * 100 + :dia1 and :mes2 * 100 + :dia2
mes1, mes2, dia1 y dia2 son del tipo Smallint o algun tipo entero.

Hasta luego.

__________________
Juan Antonio Castillo Hernández (jachguate)
Guía de Estilo | Etiqueta CODE | Búsca antes de preguntar | blog de jachguate
Responder Con Cita