![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/05/2011, 09:42
|
![Avatar de huesos52](http://static.forosdelweb.com/customavatars/avatar287966_22.gif) | Colaborador | | Fecha de Ingreso: febrero-2009 Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 16 años Puntos: 360 | |
Respuesta: Actualizo un campo y me actualiza la fecha automaticamente :( Cita: The auto-update TIMESTAMP column, if there is one, is automatically updated to the current timestamp when the value of any other column in the row is changed from its current value, unless the TIMESTAMP column explicitly is assigned a value other than NULL. tomado de: http://dev.mysql.com/doc/refman/5.0/en/timestamp.html
Para evitar este comportamiento, al momento de crear la tabla puedes poner que el valor por defecto sea NULL.
saludos
__________________ Without data, You are another person with an opinion.
W. Edwads Deming |