Ver Mensaje Individual
  #4  
Antiguo 09-02-2010
Avatar de rgstuamigo
rgstuamigo rgstuamigo is offline
Miembro
 
Registrado: jul 2008
Ubicación: Santa Cruz de la Sierra-Bolivia
Posts: 1.646
Reputación: 17
rgstuamigo Va por buen camino
Arrow

La cláusula Order by debe ir siempre al final de toda la consulta
Código SQL [-]
select *,f_nacimiento from cumpleaños_mes where Month([f_nacimiento])= Month(Date())
  Order by Day(f_nacimiento)
Saludos...
__________________
"Pedid, y se os dará; buscad, y hallaréis; llamad, y se os abrirá." Mt.7:7
Responder Con Cita