mysql > update test set create_time=concat('2013-10-01 ', floor(10+rand()*10),':',floor(10+rand()*49),':',floor(10+rand()*49)) where create_time='0000-00-00 0'; Query OK, 1 row affected Rows matched: 1 Changed: 1 Warnings: 0
查看更多关于mysql生成随机时间 - mysql数据库栏目 - 自学php的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did4748