Ver Mensaje Individual
  #4 (permalink)  
Antiguo 19/01/2010, 14:23
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: error en formato de fecha

Para mostrarla es así

Código MySQL:
Ver original
  1. mysql> select fecha from mostrar_fecha;
  2. +---------------------+
  3. | fecha               |
  4. +---------------------+
  5. | 2010-01-19 15:22:57 |
  6. +---------------------+
  7. 1 row in set (0.01 sec)
  8.  
  9. mysql> select date_format(fecha,'%d/%m/%Y') fecha from mostrar_fecha;
  10. +------------+
  11. | fecha      |
  12. +------------+
  13. | 19/01/2010 |
  14. +------------+
  15. 1 row in set (0.02 sec)
  16.  
  17. mysql>

Lo que no entiendo es que tratas de hacer en el order by.
__________________
Without data, You are another person with an opinion.
W. Edwads Deming