jubincn

导航

mysql如何自动获取当前时间

  1. 将字段类型设为TIMESTAMP
  2. 将默认值设为CURRENT_TIMESTAMP

posted on 2012-07-17 15:27  jubincn  阅读(176)  评论(0编辑  收藏  举报