MySQL报错原因:ERROR 1292 (22007): Incorrect date value: ‘1988‘ for column ‘birthday‘ at row 1
想插入一条记录,里面包含日期记录,但是报错了。报错原因:在插入date数据类型的值时,日期外面要加上引号。报错代码:insertintodb_student(name,age,sex,birthday)values('张三',22,0,2000-12-12)修正代码:insertintodb_student(name,age,sex,birthday)values('张三',22,0,'2000-