【Mysql】Datetime和Timestamp区别,及mysql中各种时间的使用
摘要:说到数据库时间类型,大部分同学都会想到date、datetime、timestamp之类的。 我之前在项目遇到一个问题,测试同事在测试时,由于会测试205几年的数据,在入库时会抛出数据库异常,原因就是timestamp是有最大年份限制的。 下面先说说datetime与timestamp的区别: da
阅读全文
posted @ 2018-10-09 16:22
posted @ 2018-10-09 16:22
posted @ 2018-07-06 10:52
posted @ 2018-04-21 10:34
posted @ 2016-08-10 18:26
posted @ 2016-08-10 17:01
posted @ 2016-08-05 14:52