Ver Mensaje Individual
  #4 (permalink)  
Antiguo 18/11/2009, 14:16
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: DATE_FORMAT en Update_time de SHOW TABLE STATUS

En cuanto a bases de datos no se que tan fiable sea tu consulta.

Código mysql:
Ver original
  1. mysql> select *from repetidos1;
  2. +------+--------+
  3. | id   | nombre |
  4. +------+--------+
  5. |    1 | daniel |
  6. |    2 | sara   |
  7. +------+--------+
  8. 2 rows in set (0.01 sec)
  9.  
  10. mysql> update repetidos1 set nombre='sara bastos' where id=2;
  11. Query OK, 1 row affected (0.01 sec)
  12. Rows matched: 1  Changed: 1  Warnings: 0
  13.  
  14. mysql> show table status from sgh like 'repetidos1';
  15. +------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----
  16. --------------+----------+----------------+----------------------+
  17. | Name       | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time         | Update_time | Check_time | Coll
  18. ation         | Checksum | Create_options | Comment              |
  19. +------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----
  20. --------------+----------+----------------+----------------------+
  21. | repetidos1 | InnoDB |      10 | Compact    |    2 |           8192 |       16384 |               0 |            0 |         0 |           NULL | 2009-11-10 09:06:37 | NULL        | NULL       | lati
  22. n1_swedish_ci |     NULL |                | InnoDB free: 4096 kB |
  23. +------------+--------+---------+------------+------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+-------------+------------+-----
  24. --------------+----------+----------------+----------------------+
  25. 1 row in set (0.01 sec)
  26.  
  27. mysql>

Depués de actualizar y revisar la tabla, el campo update_time me sigue apareciendo como null.
__________________
Without data, You are another person with an opinion.
W. Edwads Deming