Ver Mensaje Individual
  #4 (permalink)  
Antiguo 07/06/2011, 13:13
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 3 meses
Puntos: 360
Respuesta: seleccionar cumpleaños

No la he probado pero sería algo así

Código MySQL:
Ver original
  1. SELECT *FROM tabla
  2. CAST(CONCAT(YEAR(NOW()),'-',MONTH(fecha_nacimiento),'-',DAY(fecha_nacimiento))
  3. AS DATETIME) AND CAST(CONCAT(YEAR(NOW()),'-','12','-','31') AS DATETIME)
__________________
Without data, You are another person with an opinion.
W. Edwads Deming