Ver Mensaje Individual
  #21 (permalink)  
Antiguo 10/06/2003, 10:24
DotNetDeveloper
 
Fecha de Ingreso: abril-2003
Mensajes: 606
Antigüedad: 21 años
Puntos: 2
Pino: acabas de darle la razón a Manoloweb:

1.- Con tu solución necesitas programar más
2.- Es una baja en rendimiento el hecho de tener más procesos.

Prueba:

CREATE TABLE `fecha` (`fecha_fecha` VARCHAR (10))

INSERT INTO fecha (fecha_fecha) VALUES ('2003-01-01')
INSERT INTO fecha (fecha_fecha) VALUES ('2004-01-01')
INSERT INTO fecha (fecha_fecha) VALUES ('2005-01-01')

select DATE_FORMAT(fecha_fecha,'%Y-%m-%d') as fecha_fecha WHERE
fecha_fecha>='2004-01-01'

Y manda error de sintaxis =D