2014年9月18日

MySQL TIMESTAMP(时间戳)详解

摘要: 在创建表时如果表中有一个字段类型为TIMESTAMP,则该字段默认的生成语句为:CREATE TABLE `test` ( `id` int(11) DEFAULT NULL, `ctime` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPD... 阅读全文

posted @ 2014-09-18 21:52 itmyhome 阅读(322) 评论(0) 推荐(0) 编辑

导航