日期:2014-05-16 浏览次数:20774 次
mysql> insert into aa (id,name,pid,val,tm,stm) values(9,'AS',8,'1','2012-09-05 21:48:20',date_format('2012-09-05 21:48:20','%p%h:%m:%s')); Query OK, 1 row affected (0.00 sec) mysql> select * from aa; +------+------+------+------+---------------------+------------+ | id | name | pid | val | tm | stm | +------+------+------+------+---------------------+------------+ | 9 | AS | 8 | 1 | 2012-09-05 21:48:20 | PM09:09:20 | +------+------+------+------+---------------------+------------+ 1 row in set (0.00 sec)
------解决方案--------------------
还没搞定?看看人楼上讲得多仔细