mysql .字符串转日期

insert into share (uid, mapId, isdir, type, pwd, shareTime, overTime, price) values (1, 10, 0, 1,"111111", STR_TO_DATE('2019-08-03 04:52:13', '%Y-%m-%d %H:%i:%s'), STR_TO_DATE('9999-06-06 06:06:06', '%Y-%m-%d %H:%i:%s'), 0);

猜你喜欢

转载自www.cnblogs.com/sea-stream/p/11294521.html
今日推荐