我正在尝试在表中插入一条记录(来自 java 代码),但我收到“ERROR 1292 (22007)”。时间戳列的类型为“日期时间”以下是我的查询
insert into Alert(name,timestamp,location,message) values ("aaa", "2013-04-25 5:47:3PM","XYZ", "bla bla bla");
错误
ERROR 1292 (22007): Incorrect datetime value: "2013-04-25 5:47:3PM" for column 'Timestamp' at row 1