
25/04/2009, 10:21
|
 | Colaborador | | Fecha de Ingreso: febrero-2009 Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años Puntos: 360 | |
Respuesta: Convertir varchar Como lo estas haciendo chicorio?
mysql> select cast(concat('2009-01-05', ' 08:00:00') as datetime) as fecha_hora;
+---------------------+
| fecha_hora |
+---------------------+
| 2009-01-05 08:00:00 |
+---------------------+
1 row in set (0.02 sec)
Un saludo.
__________________ Without data, You are another person with an opinion.
W. Edwads Deming |