区别 |mysql |Timestamp、time、datetime

 

  • Timestamp

时间格式为 类似 2012-11-11 12:23:00 ,默认值为当前时间

  • time

时间格式类似12:23:00 默认值为null

  • datetime

时间格式类似2012-11-11 12:23:00 默认值为null

猜你喜欢

转载自www.cnblogs.com/zwt20120701/p/11423428.html
今日推荐