Error in editing MySql to change the date, the code is as follows:
mysql> Insert into date values (‘ Zhangsan ‘,92-01-02,99-03-04);
ERROR 1292 (22007): pendate value: ’89’ for column ‘birth’ at row 1
changed to
mysql> Insert into date values (‘zhangsan’,19920102,19990304);
Query OK, 1 row affected (0.13 SEC)
succeeds.
It should be the length of the date input.
mysql> Insert into date values (‘ Zhangsan ‘,92-01-02,99-03-04);
ERROR 1292 (22007): pendate value: ’89’ for column ‘birth’ at row 1
changed to
mysql> Insert into date values (‘zhangsan’,19920102,19990304);
Query OK, 1 row affected (0.13 SEC)
succeeds.
It should be the length of the date input.