摘要:
在项目中用到了timestamp这个类型,该字段本意是用于存储改行记录的创建时间的,实际上这是一个很危险的设置;mysql官方文档上有这么一段话:TheTIMESTAMPdata type provides a type that you can use to automatically markINSERTorUPDATEoperations with the current date and time. If you have multipleTIMESTAMPcolumns in a table, only the first one is updated automatically. 阅读全文
posted @ 2013-07-26 16:44
596448745
阅读(397)
评论(0)
推荐(0)

浙公网安备 33010602011771号